From: stockiNail Date: Thu, 31 Dec 2020 15:19:24 +0000 (+0100) Subject: Change title font default option (#8258) (#8259) X-Git-Tag: v3.0.0-beta.8~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ec3d94a61e828e63af9bae9375b2cb8842ca61e;p=thirdparty%2FChart.js.git Change title font default option (#8258) (#8259) --- diff --git a/docs/docs/configuration/title.md b/docs/docs/configuration/title.md index 243474385..b48c6eef3 100644 --- a/docs/docs/configuration/title.md +++ b/docs/docs/configuration/title.md @@ -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.