Skip to main content

Value to text

Maps a numeric value to a text label and optional color. Useful for turning numeric thresholds into human-readable statuses (e.g., 0-50 → "Low", 51-80 → "Medium", 81-100 → "High").

Example: Value to text

Configuration fields​

FieldDescription
ExpressionThe expression to evaluate and map
MappingA mapping of values to corresponding text and color
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.

Mapping fields​

FieldDescription
ValueThe value expression must be equal to display corresponding text
TextThe text to display
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. Map the names, for example merged rather than 3.