StackLabelsFont

12 Sep 20251 minute to read

The StackLabelsFont class provides configuration options for customizing the font properties of stack labels in charts.

Properties

color string

Specifies the color of the text.

Defaults to ’’

fontFamily string

Specifies the font family for the text.

fontStyle string

Specifies the style of the text.

Defaults to ‘Normal’

fontWeight string

Specifies the font weight of the text.

Defaults to ‘Normal’

opacity number

Specifies the opacity level for the text.

Defaults to 1

size string

Specifies the size of the text.

Defaults to ‘16px’

textAlignment Alignment

Specifies the alignment of the text.

Defaults to ‘Center’