Skip to content

Commit

Permalink
Adjust text to code example (#9475)
Browse files Browse the repository at this point in the history
The previous text explains that, in the example, the font color is set and overridden but the code sets and overrides the _font size_.
  • Loading branch information
niklasnoldin committed Jul 26, 2021
1 parent ac6929d commit 2400fcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/general/fonts.md
Expand Up @@ -2,7 +2,7 @@

There are special global settings that can change all of the fonts on the chart. These options are in `Chart.defaults.font`. The global font settings only apply when more specific options are not included in the config.

For example, in this chart the text will all be red except for the labels in the legend.
For example, in this chart the text will have a font size of 16px except for the labels in the legend.

```javascript
Chart.defaults.font.size = 16;
Expand Down

0 comments on commit 2400fcb

Please sign in to comment.