Chartdeck Contents ↓ GitHub ↗

Half circle with needle

The needle style, drawn with three colour bands and a legend

A 180° scale coloured by the bands, with tick marks and a tapered needle that shows the value. Because the bands are drawn on the scale itself, this is the style that shows your colour bands best. A small triangle marks the target. The needle swings into place with a little overshoot.

Good for

Power, speed.

Example

type: custom:chartdeck-card
style: needle
title: Power
entities:
  - entity: sensor.grid_power
    name: Grid
min: -3000
max: 6000
severity:
  - from: -3000
    color: green
  - from: 0
    color: blue
  - from: 4000
    color: red

To use this style, set style: needle (or pick Needle in the editor’s Style section).

Options that matter here

Layout: tiles, as many per row as fit the card’s width. Every option is described on the Options page.

Previous: Ring · Next: Arc · All styles