Graded chart¶
A graded chart divides numeric history into ordered color bands. Use it when threshold ranges, such as an Awair score from poor to excellent, matter more than an exact numeric height.

Basic configuration¶
This example displays Awair score ranges over time:
Configuration options¶
| Option | Type | Required | Default | Description |
|---|---|---|---|---|
show.chart_type | string | No | line | Set to graded to display ordered value ranges. |
graded.square | boolean | No | false | Uses square or rounded grade shapes. |
color_stops.colors[].value | number | Yes | - | Sets the lower bound of a value range. |
color_stops.colors[].color | color | Yes | - | Chooses the visible color for that state. |
bins.per_hour | number or auto | No | auto | Chooses how much history each displayed grade represents. |
Keep automatic bins
Leave bins.per_hour set to auto for normal use. Adjust bins.density when you want more or less detail without fixing the interval yourself.
Basic graded chart¶
Each value starts a new grade. List the values from low to high so the chart shows the ranges in the same order as the score.
When to use graded¶
Use a graded chart for air quality, pollen concentration, warnings, comfort levels, or another numeric scale with clear threshold ranges. Use an equalizer when the graph should represent numeric height instead.