]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Adjust text to code example (#9475)
authorNiklas Noldin <niklas.noldin@gmail.com>
Mon, 26 Jul 2021 17:15:39 +0000 (19:15 +0200)
committerGitHub <noreply@github.com>
Mon, 26 Jul 2021 17:15:39 +0000 (13:15 -0400)
The previous text explains that, in the example, the font color is set and overridden but the code sets and overrides the _font size_.

docs/general/fonts.md

index 909657c9daafa9510b5d53fa0c899c91b5c39c9a..940ae4dca90606dcefcc30af98eb55f3bbde28dd 100644 (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;