mirror of
https://github.com/chartjs/Chart.js.git
synced 2026-03-18 22:26:50 +01:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user