]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Change title font default option (#8258) (#8259)
authorstockiNail <stocki.nail@gmail.com>
Thu, 31 Dec 2020 15:19:24 +0000 (16:19 +0100)
committerGitHub <noreply@github.com>
Thu, 31 Dec 2020 15:19:24 +0000 (10:19 -0500)
docs/docs/configuration/title.md

index 2434743857a84683643509568d99a6c0a7612489..b48c6eef3cf25c0490bd18e9bac494c8f13add61 100644 (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.