Search results

Font API in JavaScript (ES5) Chart API control

Configures the fonts in charts.

Properties

color

string

Color for the text.

Defaults to

fontFamily

string

FontFamily for the text.

fontStyle

string

FontStyle for the text.

Defaults to ‘Normal’

fontWeight

string

FontWeight for the text.

Defaults to ‘Normal’

opacity

number

Opacity for the text.

Defaults to 1

size

string

Font size for the text.

Defaults to ‘16px’

textAlignment

Alignment

text alignment.

Defaults to ‘Center’

textOverflow

TextOverflow

Specifies the chart title text overflow.

Defaults to ‘Wrap’