Interface: GaugeOptions
Defined in: charts/gauge.ts:94
Options for addGauge.
Properties
color?
optional color?: string;Defined in: charts/gauge.ts:103
Value-arc color when no thresholds apply. Default blue.
endAngle?
optional endAngle?: number;Defined in: charts/gauge.ts:109
Angle of the sweep end, degrees. Default -20.
label?
optional label?: string | false;Defined in: charts/gauge.ts:113
Center label text; defaults to the numeric value. Pass false to omit.
max?
optional max?: number;Defined in: charts/gauge.ts:99
Value at the end of the sweep. Default 100.
min?
optional min?: number;Defined in: charts/gauge.ts:97
Value at the start of the sweep. Default 0.
name?
optional name?: string;Defined in: charts/gauge.ts:114
needleColor?
optional needleColor?: string;Defined in: charts/gauge.ts:111
Needle color. Default a dark slate.
renderType?
optional renderType?: RenderType;Defined in: charts/gauge.ts:116
Buffer-usage hint; set "dynamic" when streaming. Default "static".
startAngle?
optional startAngle?: number;Defined in: charts/gauge.ts:107
Angle of the sweep start, degrees. Default 200.
thresholds?
optional thresholds?: GaugeThreshold[];Defined in: charts/gauge.ts:101
{value,color} bands; the value arc takes the color of the highest one reached.
trackColor?
optional trackColor?: string;Defined in: charts/gauge.ts:105
Background-track color. Default a muted gray.
value
value: number;Defined in: charts/gauge.ts:95