From: Jacco van den Berg <39033624+LeeLenaleee@users.noreply.github.com> Date: Tue, 2 Mar 2021 06:59:10 +0000 (+0100) Subject: update defaults in tooltip (#8554) X-Git-Tag: v3.0.0-beta.13~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=33ff1fe059229d5d4a66febda49a76468641b455;p=thirdparty%2FChart.js.git update defaults in tooltip (#8554) --- diff --git a/docs/docs/configuration/tooltip.md b/docs/docs/configuration/tooltip.md index 9cf24fc7e..494fbb3bb 100644 --- a/docs/docs/configuration/tooltip.md +++ b/docs/docs/configuration/tooltip.md @@ -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)