mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-06 12:19:08 +02:00
parent
610461d714
commit
3ec3d94a61
@ -14,7 +14,7 @@ The title configuration is passed into the `options.plugins.title` namespace. Th
|
||||
| `color` | [`Color`](../general/colors.md) | `Chart.defaults.color` | Color of text.
|
||||
| `display` | `boolean` | `false` | Is the title shown?
|
||||
| `position` | `string` | `'top'` | Position of title. [more...](#position)
|
||||
| `font` | `Font` | `Chart.defaults.font` | See [Fonts](../general/fonts.md)
|
||||
| `font` | `Font` | `{style: 'bold'}` | See [Fonts](../general/fonts.md)
|
||||
| `padding` | `number`\|`{top: number, bottom: number}` | `10` | Adds padding above and below the title text if a single number is specified. It is also possible to change top and bottom padding separately.
|
||||
| `text` | `string`\|`string[]` | `''` | Title text to display. If specified as an array, text is rendered on multiple lines.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user