]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Update 01-Chart-Configuration.md 3280/head
authorChun-Yi Liu <trantor.liu@gmail.com>
Thu, 8 Sep 2016 23:23:31 +0000 (18:23 -0500)
committerGitHub <noreply@github.com>
Thu, 8 Sep 2016 23:23:31 +0000 (18:23 -0500)
Fix an anchor link.

docs/01-Chart-Configuration.md

index d4af29593573700b0a894c5e5a0a3b44aa520a60..43e762ba408c6c2e13b7e8dca309aeda2c47165b 100644 (file)
@@ -211,7 +211,7 @@ The tooltip configuration is passed into the `options.tooltips` namespace. The g
 Name | Type | Default | Description
 --- | --- | --- | ---
 enabled | Boolean | true | Are tooltips enabled
-custom | Function | null | See [section](#chart-configuration-custom-tooltips) below
+custom | Function | null | See [section](#advanced-usage-external-tooltips) below
 mode | String | 'single' | Sets which elements appear in the tooltip. Acceptable options are `'single'`, `'label'` or `'x-axis'`. <br>&nbsp;<br>`single` highlights the closest element. <br>&nbsp;<br>`label` highlights elements in all datasets at the same `X` value. <br>&nbsp;<br>`'x-axis'` also highlights elements in all datasets at the same `X` value, but activates when hovering anywhere within the vertical slice of the x-axis representing that `X` value.
 itemSort | Function | undefined | Allows sorting of [tooltip items](#chart-configuration-tooltip-item-interface). Must implement at minimum a function that can be passed to [Array.prototype.sort](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort).  This function can also accept a third parameter that is the data object passed to the chart.
 backgroundColor | Color | 'rgba(0,0,0,0.8)' | Background color of the tooltip