FontModel

10 Oct 20251 minute to read

Interface for a class Font

Properties

color string

Allows to set color to the text in the chart.

fontFamily string

Allows to set font family to the text in the chart.

fontStyle string

Allows to set the font style to the text in the chart.

fontWeight string

Allows to set the font weight to the text in the chart.

opacity number

Allows to set opacity to the text in the chart.

size string

Allows to set the font size to the text in the chart.

textAlignment Alignment

Allows to set text alignment in the chart

textOverflow TextOverflow

Allows to specify the chart title text overflow