]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Add note regarding non-existant fonts
authoretimberg <evert.timberg@gmail.com>
Mon, 19 Jun 2017 00:59:45 +0000 (20:59 -0400)
committerEvert Timberg <evert.timberg+github@gmail.com>
Mon, 19 Jun 2017 01:07:23 +0000 (21:07 -0400)
docs/general/fonts.md

index dd475294203c06e3872a1a5c40a041e18eddc031..082456f3d95be9a8e8a5e78328de369ef6947cdc 100644 (file)
@@ -26,3 +26,7 @@ let chart = new Chart(ctx, {
 | `defaultFontFamily` | `String` | `"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif"` | Default font family for all text.
 | `defaultFontSize` | `Number` | `12` | Default font size (in px) for text. Does not apply to radialLinear scale point labels.
 | `defaultFontStyle` | `String` | `'normal'` | Default font style. Does not apply to tooltip title or footer. Does not apply to chart title.
+
+## Non-Existant Fonts
+
+If a font is specified for a chart that does exist on the system, the browser will not apply the font when it is set. If you notice odd fonts appearing in your charts, check that the font you are applying exists on your system. See [issue 3318](https://github.com/chartjs/Chart.js/issues/3318) for more details.