From: Niklas Noldin Date: Mon, 26 Jul 2021 17:15:39 +0000 (+0200) Subject: Adjust text to code example (#9475) X-Git-Tag: v3.5.1~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2400fcb432d4bce68abfbe54cbc9cc8c930c381f;p=thirdparty%2FChart.js.git 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_. --- diff --git a/docs/general/fonts.md b/docs/general/fonts.md index 909657c9d..940ae4dca 100644 --- a/docs/general/fonts.md +++ b/docs/general/fonts.md @@ -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;