]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
update defaults in tooltip (#8554)
authorJacco van den Berg <39033624+LeeLenaleee@users.noreply.github.com>
Tue, 2 Mar 2021 06:59:10 +0000 (07:59 +0100)
committerGitHub <noreply@github.com>
Tue, 2 Mar 2021 06:59:10 +0000 (08:59 +0200)
docs/docs/configuration/tooltip.md

index 9cf24fc7e82ab16fa0357637e1904a12bcd01f76..494fbb3bb8ef22c7dc96ad26a9535b7f735ee08b 100644 (file)
@@ -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)