From 287394e5e3e508d119c0cf79356d78bf335ff287 Mon Sep 17 00:00:00 2001 From: Hubert Olender Date: Thu, 23 Feb 2023 14:05:50 +0100 Subject: [PATCH] Update tooltip.md (#11154) * Update tooltip.md Add missing `'` * Update tooltip.md Improve textDirection text --- docs/configuration/tooltip.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.47.3