Search results

TextStyle API in JavaScript Linear Gauge API control

Defines the font properties such as font-size, font family and others for the text pointer.

Properties

fontFamily

string

Defines the font-family of the text pointer. The default value of this property varies based on the theme set in the Linear Gauge.

fontStyle

string

Defines the font-style of the text pointer.

Defaults to ‘normal’

fontWeight

string

Defines the font-weight of the text pointer.

Defaults to ‘normal’

size

string

Defines the font-size of the text pointer.