gauge

gauge, tile type

The gauge tile displays a single numeric value on a semicircular scale. It expects exactly one numeric expression in its with block. The value is clamped to the configured gaugeMin and gaugeMax bounds.

show gauge "Service level" with 0.85

Example with StyleCode

show gauge "Fill rate" {
  entry {
    gaugeMin: 0;
    gaugeMax: 1;
    gaugeFillColor: orange;
    gaugeStrokeColor: "green/700"
  }
} with 0.85

Remarks

Gauge tiles support dashboard slicing via slices: like other tiles. When the slice has no data, the tile displays an error message.

StyleCode

For generic StyleCode rules, see stylecode.

User Contributed Notes
0 notes + add a note