ranges
|
Gauge Properties for general information about Output components. |
Specifies an array of one to three values defining the upper boundaries of the Gauge ranges (color zones). The colors corresponding to these boundaries are determined by the rangeColors array. To use the max Gauge value as the boundary for a range, simply omit the boundary value for the desired range.
Example
// Omit 'red' boundary value to automatically use Gauge max:
Gauge1.rangeColors = ['green','yellow','red'];
Gauge1.ranges = [5,10];
|
Either syntax below can be used in component script:
For onInit/onRefresh scripts, and for component and property scripts on other components, the second (qualified) form is required. |