FontModel

23 Sep 20251 minute to read

Interface for a class Font

Properties

color string

Specifies the color of the text.

fontFamily string

Specifies the font family for the text.

fontStyle string

Specifies the style of the text.

fontWeight string

Specifies the font weight of the text.

opacity number

Specifies the opacity level for the text.

size string

Specifies the size of the text.

textAlignment Alignment

Specifies the alignment of the text.

textOverflow TextOverflow

Specifies how the chart title text should handle overflow.