Interface: FontSpec

    Default font family for all text, follows CSS font-family options.

    “‘Helvetica Neue’, ‘Helvetica’, ‘Arial’, sans-serif”

    Defined in: index.esm.d.ts:1546 (opens new window)


    lineHeight: string | number

    Height of an individual line of text (see MDN).

    Defined in:


    size: number

    Default font size (in px) for text. Does not apply to radialLinear scale point labels.

    12

    Defined in: index.esm.d.ts:1551 (opens new window)


    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)

    ‘normal’

    Defined in:


    weight: string

    Default font weight (boldness). (see MDN).