Font
There are special global settings that can change all 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.
Family¶
Default font family for all text, follows CSS font-family options.
Size¶
Default font size (in px) for text. Does not apply to radialLinear scale point labels. Default 12
Style¶
Default font style. Does not apply to tooltip title or footer. Does not apply to chart title. Follows CSS font-style options (i.e. normal, italic, oblique, initial, inherit).
Weight¶
Set a weight. Default font weight boldness
.
LineHeight¶
Height of an individual line of text.
Or, use double. Default1.2