mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-06 20:29:12 +02:00
Finish incomplete sentence and remove trailing spaces.
This commit is contained in:
parent
aed3d40263
commit
1485778363
@ -193,7 +193,7 @@ The tooltip configuration is passed into the `options.tooltips` namespace. The g
|
||||
|
||||
Name | Type | Default | Description
|
||||
--- | --- | --- | ---
|
||||
enabled | Boolean | true | Are tooltips
|
||||
enabled | Boolean | true | Are tooltips enabled
|
||||
custom | Function | null | See [section](#chart-configuration-custom-tooltips) below
|
||||
mode | String | 'single' | Sets which elements appear in the tooltip. Acceptable options are `'single'`, `'label'` or `'x-axis'`. <br> <br>`single` highlights the closest element. <br> <br>`label` highlights elements in all datasets at the same `X` value. <br> <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 a function that can be passed to [Array.prototype.sort](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort)
|
||||
|
Loading…
Reference in New Issue
Block a user