Range / band area
native
Area between a low and high value per x (confidence band)
Matrix status native. Verification types · strong. ChartKit option: ChartKitChartSpecV1.type=area-range.
Band between lo and hi, with an optional centre line. A combo mark range paints the band under the other series.
Source: chartkit:packages/core/src/charts/area-range.ts:1
ChartKit spec
Passed validate() during npm run matrix:refresh. The SVG is the server render.
{
"version": "1",
"type": "area-range",
"data": [
{
"month": "Jan",
"y": 40,
"lo": 36,
"hi": 48
},
{
"month": "Feb",
"y": 55,
"lo": 46,
"hi": 66
}
],
"encoding": {
"x": "month",
"y": "y",
"low": "lo",
"high": "hi"
},
"a11y": {
"alt": "It widens."
},
"size": {
"width": 640,
"height": 260
}
}Other libraries
Option names are the paths recorded in the matrix. A grep-only cell names the identifier that matched, not a render test. Markdown copy: type.area.range.md.
| Library | Status | Option | Verification | Source |
|---|---|---|---|---|
| Chart.js | manual | Plugin.afterDatasetsDrawtwo datasets with fill:'-1' | mechanism · weak | chart.js/dist/types/index.d.ts:1051 |
| Recharts | partial | Area.dataKeydataKey returning [low, high] | types · strong | recharts/types/util/types.d.ts:1208 |
| Apache ECharts | manual | series.type=customstacked transparent base series | mechanism · weak | echarts/types/dist/shared.d.ts:11176 |
| Highcharts | native | series.type=arearange | types · strong | highcharts/options/abands.d.ts:1386 |
| Plotly.js | partial | trace.fill=tonextytwo traces | types · strong | plot-schema.json#traces.{scatter,scattergl,scatterpolargl}.attributes.fill |
| Nivo | manual | Line.layers | mechanism · weak | @nivo/line/dist/types/types.d.ts:171 |
| Victory | native | VictoryAreay0 accessor | types · strong | victory-area/lib/victory-area.d.ts:31 |
| visx | native | AreaArea with y0/y1 accessors | types · strong | @visx/shape/lib/shapes/Area.d.ts:3 |
| ApexCharts | native | chart.type=rangeArea | types · strong | apexcharts/types/apexcharts.d.ts:1767 |
| Tremor (npm) | none | — | absence · absence | — |
| Observable Plot | native | areaYareaY({y1, y2}) | types · strong | @observablehq/plot/src/marks/area.d.ts:198 |
| Vega-Lite | native | mark=errorband | types · strong | vega-lite/build/spec/unit.d.ts:19 |
| AG Charts | native | series.type=range-area | types · strong | ag-charts-types/dist/types/src/series/cartesian/areaOptions.d.ts:86 |
| amCharts 5 | native | grep: openValueYFieldarea between openValueY and valueY | grep · weak | @amcharts/amcharts5/.internal/charts/xy/series/XYSeries.d.ts:292 |
| Google Charts | partial | grep: intervalintervals role style:'area' | grep · weak | @types/google.visualization/index.d.ts:46 |
| uPlot | partial | Options.bands | types · strong | uplot/dist/uPlot.d.ts:377 |
| TradingView Lightweight Charts | manual | grep: ICustomSeriesPaneView | mechanism · weak | 1629: addCustomSeries<TData extends CustomData<HorzScaleItem>, TOptions extends CustomSeriesOptions, TPartialOptions extends SeriesPartialOptions<TOptions> = SeriesPartialOptions<TOptions>>(customPaneView |
| MUI X Charts | manual | ChartsContainer | mechanism · weak | @mui/x-charts/ChartsContainer/ChartsContainer.d.mts:34 |
| Mermaid (chart-ish diagrams only) | none | — | absence · absence | — |
| AntV G2 | native | MarkTypes=area | types · strong | @antv/g2/lib/spec/mark.d.ts:13 |