Update tooltip.md (#11154)

* Update tooltip.md

Add missing `'`

* Update tooltip.md

Improve textDirection text
This commit is contained in:
Hubert Olender 2023-02-23 14:05:50 +01:00 committed by GitHub
parent 6cc429ddde
commit 287394e5e3

View File

@ -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)