From: Hubert Olender Date: Thu, 23 Feb 2023 13:05:50 +0000 (+0100) Subject: Update tooltip.md (#11154) X-Git-Tag: v4.3.0~15 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=287394e5e3e508d119c0cf79356d78bf335ff287;p=thirdparty%2FChart.js.git Update tooltip.md (#11154) * Update tooltip.md Add missing `'` * Update tooltip.md Improve textDirection text --- diff --git a/docs/configuration/tooltip.md b/docs/configuration/tooltip.md index 03cf8a467..fb9d784be 100644 --- a/docs/configuration/tooltip.md +++ b/docs/configuration/tooltip.md @@ -42,7 +42,7 @@ Namespace: `options.plugins.tooltip`, the global options for the chart tooltips | `borderColor` | [`Color`](../general/colors.md) | `'rgba(0, 0, 0, 0)'` | Color of the border. | `borderWidth` | `number` | `0` | Size of the border. | `rtl` | `boolean` | | `true` for rendering the tooltip from right to left. -| `textDirection` | `string` | canvas' default | This will force the text direction `'rtl' or 'ltr` on the canvas for rendering the tooltips, regardless of the css specified on the canvas +| `textDirection` | `string` | canvas' default | This will force the text direction `'rtl'` or `'ltr'` on the canvas for rendering the tooltips, regardless of the css specified on the canvas | `xAlign` | `string` | `undefined` | Position of the tooltip caret in the X direction. [more](#tooltip-alignment) | `yAlign` | `string` | `undefined` | Position of the tooltip caret in the Y direction. [more](#tooltip-alignment)