Repository navigation
Style Needle

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.
Power, speed.
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: redTo use this style, set style: needle (or pick Needle in the editor's Style section).
-
severitydraws the coloured scale; there is no separate arc fill. -
minandmaxset the two ends of the scale. -
targetdraws a triangle marker on the scale. -
columnssets how many gauges sit in a row; by default as many as fit the card's width.
start_angle, end_angle, center and center_text work on the needle as on the ring: see Angles, centre text and scale numbers. tick_labels: true writes round numbers along the scale from min to max, the ends always shown, outside the arc and past the target marker. In the editor it is Numbers on the scale, in the Style section.
start_angle: -120
end_angle: 120
center: band
tick_labels: trueLayout: 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
Start
Using it
-
Styles
- Bar
- Thin
- Segmented
- Tank
- Ring
- Needle
- Arc
- Line
- Area
- Column
- Combined
- Pie and donut
- Rings
- Pictograph
- Waffle
- Histogram
- Scatter
- Bubble
- Heatmap
- Box plot
- Funnel
- Waterfall
- Treemap
- Sunburst and icicle
- Radar
- Polar area
- Grouped and stacked bars
- Bullet
- Lollipop
- Slope
- Dumbbell
- Range area
- Sparkline
- Streamgraph
- Candlestick
- Violin and raincloud
- Beeswarm
- State timeline
- Climate
- Sankey
- Wind rose
- 24-hour clock
- Trend
- Options
- Visual editor
- Colour bands
Help