Skip to main content

Value to text (conditions)

Displays text determined by boolean or condition-based rules. Each condition can optionally specify a color.

Example: Value to text conditions

Configuration fields​

FieldDescription
ConditionsThe conditions to evaluate

Conditions fields​

FieldDescription
ExpressionThe boolean expression to evaluate
TextThe text to display if the expression evaluates to true
Color(optional) The color to display the text in
Enum metrics

A variable pointing at an enum metric holds the name of the enum value as a string, not its number. Compare it with the name in quotes, for example sink_viability_control == "merged".

Shared Settings

This component uses standard configuration options (such as size, color, and alignment). Please refer to the Common Fields documentation for a full list of available properties.