Skip to content

Commit

Permalink
Add note regarding non-existant fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
etimberg committed Jun 19, 2017
1 parent 28da154 commit 7a02d93
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/general/fonts.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

0 comments on commit 7a02d93

Please sign in to comment.