Skip to content

Commit

Permalink
Update tooltip.md
Browse files Browse the repository at this point in the history
Improve textDirection text
  • Loading branch information
olenderhub committed Feb 23, 2023
1 parent 1aac4d2 commit 48d5421
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/configuration/tooltip.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 48d5421

Please sign in to comment.