From 48d54213cd9cce04ad5ea7adeaed546cb1c5c6a6 Mon Sep 17 00:00:00 2001 From: Hubert Olender Date: Mon, 20 Feb 2023 18:47:32 +0100 Subject: [PATCH] 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 3fabacf91c1..fb9d784be15 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)