Configuration rangeBars[]

Specifies options for the gauge's range bar(s).

Type: Array
Default Value: []

A range bar is a filled sector that represents a specific interval (e.g., working hours). If you need to show a single range bar, assign an object defining this range bar to the rangeBars configuration object. In the range bar's object, specify the bar boundaries and define the bar's appearance and location.
If you need to show several range bars, specify rangeBars as an array of objects defining range bars. If you need to set similar values to properties of several range bars, use the commonRangeBarSettings configuration object. It exposes the properties that can be specified for all range bars at once. Note that the values specified for a range bar individually (in the rangeBars array) override the values that are specified for all range bars (in the commonRangeBarSettings object).
To define a range bar individually, use the properties listed in the rangeBars object. In addition, any property of the commonRangeBarSettings configuration object can be added to the range bar's individual definition. For example, even though a common offset is specified in the commonRangeBarSettings, an individual offset can be specified for each range bar.


Specifies the scale value that a range bar represents.

Type: Number
Default Value: undefined

A range bar is displayed from a value specified by the baseValue property (see commonRangeBarSettings) to the value specified by the value property. If you need to display a range bar's value in a label, set the indent property within the commonRangeBarSettings | text property.