Repository navigation
Style Bullet

A value against its target, with its colour bands as ranges behind it. Each entity is a row: the name (with "target 70 kWh" under it when the entity has a target), a track from its min to max with the bands as ranges, the value bar, a line at the target and the value on the right. It draws from the entities' current values, so no history is involved.
Progress against a goal (today's solar against the plan, battery against the level you want), several in a compact list.
type: custom:chartdeck-card
style: bullet
title: Against the plan
severity:
- from: 0
color: red
- from: 50
color: amber
- from: 80
color: green
entities:
- entity: sensor.solar_energy_today
name: Solar
max: 30
target: 24
- entity: sensor.battery_level
name: Battery
target: 80To use this style, set style: bullet (or pick Bullet under Comparisons in the editor's Style section). The chart options are in the editor's Chart section.
- Ranges: grey shades that get deeper band by band.
- The bar takes the colour of the band the value is in.
ranges: shades # shades (default) or colours-
ranges: coloursdraws the ranges in the bands' own colours, faint. - Each entity uses its own
minandmax, as the bar styles do, so with a negativeminvalues below zero grow left of the zero point. -
targetcan be a number or an entity, as for the other styles (Limits section in the editor).show.target: falsehides the target line and text.
In the editor: Ranges behind the bar.
Unavailable and missing entities keep their track but draw no bar or target, and say what is wrong where the value goes.
Every row is the entity's own element, with tap_action, hold_action and double_tap_action (more-info by default), and a meter role for screen readers.
Bars grow in like the bar styles. Animation is off when animate: false is set or the browser asks for reduced motion.
Layout: one chart for the whole card. Every shared option is described on the Options page.
Previous: Grouped bars · Next: Lollipop · 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