Skip to content

grafit-charts


Interface: GaugeLabelOptions ​

A number a gauge prints: the value at its middle, a bound of its scale. The formatter answers what it reads as, the font options how it looks; a size left out follows the gauge, which sizes its own text against its room.

Extends ​

Properties ​

color? ​

optional color?: string

Inherited from ​

FontOptions.color


enabled? ​

optional enabled?: boolean

Inherited from ​

Switchable.enabled


fontFamily? ​

optional fontFamily?: string

Inherited from ​

FontOptions.fontFamily


fontSize? ​

optional fontSize?: number

Inherited from ​

FontOptions.fontSize


fontStyle? ​

optional fontStyle?: FontStyle

Inherited from ​

FontOptions.fontStyle


fontWeight? ​

optional fontWeight?: FontWeight

Inherited from ​

FontOptions.fontWeight


formatter? ​

optional formatter?: (value) => string

Parameters ​

value ​

number

Returns ​

string