Features · type

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.

It widens.It widens.405060JanFeblo–hiylo–hi
{
  "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.

LibraryStatusOptionVerificationSource
Chart.jsmanualPlugin.afterDatasetsDrawtwo datasets with fill:'-1'mechanism · weakchart.js/dist/types/index.d.ts:1051
RechartspartialArea.dataKeydataKey returning [low, high]types · strongrecharts/types/util/types.d.ts:1208
Apache EChartsmanualseries.type=customstacked transparent base seriesmechanism · weakecharts/types/dist/shared.d.ts:11176
Highchartsnativeseries.type=arearangetypes · stronghighcharts/options/abands.d.ts:1386
Plotly.jspartialtrace.fill=tonextytwo tracestypes · strongplot-schema.json#traces.{scatter,scattergl,scatterpolargl}.attributes.fill
NivomanualLine.layersmechanism · weak@nivo/line/dist/types/types.d.ts:171
VictorynativeVictoryAreay0 accessortypes · strongvictory-area/lib/victory-area.d.ts:31
visxnativeAreaArea with y0/y1 accessorstypes · strong@visx/shape/lib/shapes/Area.d.ts:3
ApexChartsnativechart.type=rangeAreatypes · strongapexcharts/types/apexcharts.d.ts:1767
Tremor (npm)none—absence · absence—
Observable PlotnativeareaYareaY({y1, y2})types · strong@observablehq/plot/src/marks/area.d.ts:198
Vega-Litenativemark=errorbandtypes · strongvega-lite/build/spec/unit.d.ts:19
AG Chartsnativeseries.type=range-areatypes · strongag-charts-types/dist/types/src/series/cartesian/areaOptions.d.ts:86
amCharts 5nativegrep: openValueYFieldarea between openValueY and valueYgrep · weak@amcharts/amcharts5/.internal/charts/xy/series/XYSeries.d.ts:292
Google Chartspartialgrep: intervalintervals role style:'area'grep · weak@types/google.visualization/index.d.ts:46
uPlotpartialOptions.bandstypes · stronguplot/dist/uPlot.d.ts:377
TradingView Lightweight Chartsmanualgrep: ICustomSeriesPaneViewmechanism · weak1629: addCustomSeries<TData extends CustomData<HorzScaleItem>, TOptions extends CustomSeriesOptions, TPartialOptions extends SeriesPartialOptions<TOptions> = SeriesPartialOptions<TOptions>>(customPaneView
MUI X ChartsmanualChartsContainermechanism · weak@mui/x-charts/ChartsContainer/ChartsContainer.d.mts:34
Mermaid (chart-ish diagrams only)none—absence · absence—
AntV G2nativeMarkTypes=areatypes · strong@antv/g2/lib/spec/mark.d.ts:13