Add note regarding non-existant fonts

This commit is contained in:
etimberg 2017-06-18 20:59:45 -04:00 committed by Evert Timberg
parent 28da15455f
commit 7a02d93db4

View 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.