The gauge meter widget illustrates the proportion of the indicated sets of values as portions of a wheel.
- Tutorials:
- See:
Methods
# setAutoScale(autoScale)
Set the auto scale.
Parameters:
Name | Type | Description |
---|---|---|
autoScale |
boolean
|
Enable or disable. |
# setLabelColor(color)
Set the color for label.
Parameters:
Name | Type | Description |
---|---|---|
color |
string
|
Color value. |
- Default Value:
- '#FFFFFF
# setLastIndex(limit)
Set the index of the data array to limit processing.
Parameters:
Name | Type | Description |
---|---|---|
limit |
number
|
Index number. |
# setMaxScaleVal(value)
Set the maximum value of the scale.
Parameters:
Name | Type | Description |
---|---|---|
value |
number
|
Minimun value. |
# setMinScaleVal(value)
Set the minimum value of the scale.
Parameters:
Name | Type | Description |
---|---|---|
value |
number
|
Minimun value. |
# setMultiplier(multiplier)
Set a multiplier for the data.
Parameters:
Name | Type | Description |
---|---|---|
multiplier |
number
|
Value. |
- Default Value:
- 1
# setNumberFormat(format)
Set a format to number.
The following values are supported:
- dot
- comma
- bytes
- scientific
Parameters:
Name | Type | Description |
---|---|---|
format |
Number
|
Number format. |
- Default Value:
- 'comma'
# setPrecission(precision)
Set the precision number.
Parameters:
Name | Type | Description |
---|---|---|
precision |
number
|
Precision value. |
- Default Value:
- 2
# setReverseScale(bool)
Set the scale as reseverse.
Parameters:
Name | Type | Description |
---|---|---|
bool |
boolean
|
Enable or disable. |
# setUnits(unit)
Set the unit for the values.
Parameters:
Name | Type | Description |
---|---|---|
unit |
string
|
Unit value. |
# setValue(value)
Set the column with the value.
Parameters:
Name | Type | Description |
---|---|---|
value |
string
|
Value to show. |
# setWhere(where)
Conditions to show in the center of the gauge.
Parameters:
Name | Type | Description |
---|---|---|
where |
Object
|
Key value object. |