Adjust text to code example (#9475)

The previous text explains that, in the example, the font color is set and overridden but the code sets and overrides the _font size_.
This commit is contained in:
Niklas Noldin
2021-07-26 19:15:39 +02:00
committed by GitHub
parent ac6929d8f6
commit 2400fcb432

View File

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