Module

RAG

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:

View Source widgets/rag.js, line 7

Methods

# setIsFieldsRelated(bool)

Indicate if the fields are related.

Parameters:
Name Type Description
bool boolean

View Source widgets/rag.js, line 52

# setKeys(keys)

Set the keys to represent.

Parameters:
Name Type Description
keys Array.<string>

Keys text.

View Source widgets/rag.js, line 34

# setUnit(str)

Set the unit for the values.

Parameters:
Name Type Description
str string

Text with the unit.

View Source widgets/rag.js, line 61

# setValue(value)

Set the value to show.

Parameters:
Name Type Description
value string

Value to show.

View Source widgets/rag.js, line 43