Search results

FontModel API in JavaScript (ES5) Circular Gauge API control

Interface for a class Font

Properties

color

string

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

fontFamily

string

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

fontStyle

string

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

fontWeight

string

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

opacity

number

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

size

string

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