Font

12 Sep 20251 minute to read

Sets and gets the font style for the circular gauge.

Properties

color string

Gets and sets the font color of the text in annotation, label, tooltip, and so on.

Defaults to ’’

fontFamily string

Gets and sets the font family for the text in annotation, label, tooltip, and so on.

Defaults to ‘segoe UI’

fontStyle string

Gets and sets the font style for the text in annotation, label, tooltip, and so on.

Defaults to ‘Normal’

fontWeight string

Gets and sets the font weight for the text in annotation, label, tooltip, and so on.

Defaults to ‘Normal’

opacity number

Sets and gets the font opacity for the text in annotation, label, tooltip, and so on.

Defaults to 1

size string

Gets and sets the text font size in an annotation, label, tooltip, and so on. The default of the size is ‘16px’.

Defaults to ‘16px’