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. The tile supports both legacy placement and the new dashboard grid placement.

show gauge "Service level" with 0.85

Examples

Legacy dashboards attach gauge-specific StyleCode to the gauge entry:

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

New dashboards use grid placement and accept additional tile-level gauge properties:

show gauge "Fill rate" {
  1..3, 1..10;
  gaugeLabelPosition: "top";
  gaugeVariant: "dot";
  gaugeChromeColor: orange;
  gaugeAngle: 180
} with
  85 { gaugeMin: 0; gaugeMax: 100; unit: "%" }

Remarks

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

In new dashboards, gaugeLabelPosition, gaugeVariant, gaugeChromeColor, and gaugeAngle belong to the tile itself. gaugeMin and gaugeMax still belong to the gauge entry.

gaugeLabelPosition accepts "center" and "top". gaugeVariant accepts "bar" and "dot". gaugeAngle accepts values from 180 to 270, and the new dashboard renderer also accepts auto.

StyleCode

For generic StyleCode rules, see stylecode.

User Contributed Notes
0 notes + add a note