A RAG widget rate the data in its values. This widgets is used to summarise indicator values where each color represents a value.
- Tutorials:
- See:
Methods
# setIsFieldsRelated(bool)
Indicate if the fields are related.
Parameters:
Name | Type | Description |
---|---|---|
bool |
boolean
|
# setKeys(keys)
Set the keys to represent.
Parameters:
Name | Type | Description |
---|---|---|
keys |
Array.<string>
|
Keys text. |
# setUnit(str)
Set the unit for the values.
Parameters:
Name | Type | Description |
---|---|---|
str |
string
|
Text with the unit. |
# setValue(value)
Set the value to show.
Parameters:
Name | Type | Description |
---|---|---|
value |
string
|
Value to show. |