mirror of
https://github.com/chartjs/Chart.js.git
synced 2026-03-07 16:56:50 +01:00
update defaults in tooltip (#8554)
This commit is contained in:
committed by
GitHub
parent
78d3d30d56
commit
33ff1fe059
@@ -10,8 +10,8 @@ Namespace: `options.plugins.tooltip`, the global options for the chart tooltips
|
||||
| ---- | ---- | ------- | -----------
|
||||
| `enabled` | `boolean` | `true` | Are on-canvas tooltips enabled?
|
||||
| `external` | `function` | `null` | See [external tooltip](#external-custom-tooltips) section.
|
||||
| `mode` | `string` | | Sets which elements appear in the tooltip. [more...](interactions/modes.md#interaction-modes).
|
||||
| `intersect` | `boolean` | | If true, the tooltip mode applies only when the mouse position intersects with an element. If false, the mode will be applied at all times.
|
||||
| `mode` | `string` | `interaction.mode` | Sets which elements appear in the tooltip. [more...](interactions/modes.md#interaction-modes).
|
||||
| `intersect` | `boolean` | `interaction.intersect` | If true, the tooltip mode applies only when the mouse position intersects with an element. If false, the mode will be applied at all times.
|
||||
| `position` | `string` | `'average'` | The mode for positioning the tooltip. [more...](#position-modes)
|
||||
| `callbacks` | `object` | | See the [callbacks section](#tooltip-callbacks).
|
||||
| `itemSort` | `function` | | Sort tooltip items. [more...](#sort-callback)
|
||||
|
||||
Reference in New Issue
Block a user