Dictionary

Renders the value according to the configured dictionary and thresholds.

Dictionary

How it works

Within a Metric or Property, you can define a Dictionary or Ranges, in both cases, to a value (or a threshold) you can assign and Icon, a Label and a Severity.

This filter, other than the value, receive in input also the metric or property definition, and the configured parameters. In this way you can define how to print out the value and decorate it according to the severity, icon and label.  

Below are some examples with different configurations.

Filter Variants

The set of predefined filter variants that can be used to format values.

dictionary

Prints out the value with icon and severity.


Output Type: HTML


dictionary:{'showIcon': true, 'showValue': false, 'showLabel': true}



PARAMETERS

Show Icon

Prints out the icon associated with the value (dictionary or range).
Type: BOOLEAN | Optional | Values:

true

false


{'showIcon': true}

Show Value

Prints out the metric value.
Type: BOOLEAN | Optional | Values:

true

false


{'showValue': true}

Show Label

Prints out the label associated with the value (dictionary or range).
Type: BOOLEAN | Optional | Values:

true

false


{'showLabel': true}

dictionary