Area chart¶
An area chart combines a trend line with a filled area. Use it when the magnitude of the value should have more visual weight.
It works well for temperature, humidity, power, air quality, and other continuous measurements where both direction and magnitude should be immediately visible.

See: Sparkline History Template Card #060
Basic configuration¶
This example shows the average value over the latest 24 hours:
Configuration options¶
| Option | Type | Required | Default | Description |
|---|---|---|---|---|
show.chart_type | string | No | line | Set to area to display an area chart. |
show.line | boolean | No | true | Shows or hides the line along the area. |
show.area | boolean | No | false | Shows or hides the filled surface. |
show.fill | string | No | solid | Uses a solid fill or fade. |
show.points | boolean | No | false | Adds a point for every displayed interval. |
area.show_minmax | boolean | No | false | Shows the minimum-to-maximum range in every interval. |
line.line_width | number | No | 1 | Sets the width of the trend line. |
state_values.smoothing | boolean | No | true | Uses smooth or straight connections. |
Basic area chart¶
Fade the fill¶
Show the value range¶
The range shows the minimum and maximum values represented by each time bin.