Change title font default option (#8258) (#8259)

This commit is contained in:
stockiNail 2020-12-31 16:19:24 +01:00 committed by GitHub
parent 610461d714
commit 3ec3d94a61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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