cjs_font.Rd
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.
cjs_font(
family = "'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",
size = 12,
style = "normal",
weight = NULL,
lineHeight = 1.2
)
string, "'Helvetica Neue', 'Helvetica', 'Arial', sans-serif", Default font family for all text, follows CSS font-family options.
number, 12, Default font size (in px) for text. Does not apply to radialLinear scale point labels.
string, 'normal', 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).
string, undefined, Default font weight (boldness). (see MDN).
number|string, 1.2, Height of an individual line of text (see MDN).
a list