Features · type

Stacked area

native

Areas stacked on top of each other

Matrix status native. Verification types · strong. ChartKit option: ChartKitChartSpecV1.type=stacked-area.

Source: chartkit:packages/core/src/generated/schema.ts:24

ChartKit spec

Passed validate() during npm run matrix:refresh. The SVG is the server render.

B is higher.B is higher.ab0246AB
{
  "version": "1",
  "type": "stacked-area",
  "data": [
    {
      "x": "A",
      "a": 2,
      "b": 3
    },
    {
      "x": "B",
      "a": 4,
      "b": 2
    }
  ],
  "encoding": {
    "x": "x",
    "y": [
      "a",
      "b"
    ]
  },
  "a11y": {
    "alt": "B is higher."
  },
  "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.stacked.md.

LibraryStatusOptionVerificationSource
Chart.jsnativegrep: stackedscales.y.stacked + fillgrep · weakchart.js/dist/types/index.d.ts:86
RechartsnativeArea.stackIdtypes · strongrecharts/types/cartesian/Area.d.ts:202
Apache EChartsnativeseries.stacktypes · strongecharts/types/dist/shared.d.ts:8415
HighchartsnativeplotOptions.area.stacking=normaltypes · stronghighcharts/options/area.d.ts:1277
Plotly.jsnativetrace.stackgrouptypes · strongplot-schema.json#traces.{scatter}.attributes.stackgroup
NivonativeLine.yScaleyScale.stacked + enableAreatypes · strong@nivo/line/dist/types/types.d.ts:132
VictorynativeVictoryStacktypes · strongvictory-stack/lib/victory-stack.d.ts:15
visxnativeAreaStack, AnimatedAreaStacktypes · strong@visx/shape/lib/shapes/AreaStack.d.ts:5
ApexChartsnativechart.stackedtypes · strongapexcharts/types/apexcharts.d.ts:2162
Tremor (npm)nativeAreaChart.stacktypes · strong@tremor/react/dist/index.d.ts:92
Observable PlotnativeareaY, stackYstack transform is implicit for areaYtypes · strong@observablehq/plot/src/marks/area.d.ts:198
Vega-Litenativegrep: stackencoding.y.stackgrep · weak592: "description"
AG Chartsnativeseries.stackedtypes · strongag-charts-types/dist/types/src/series/cartesian/areaOptions.d.ts:90
amCharts 5nativegrep: stackedXYSeries settings stacked:truegrep · weak@amcharts/amcharts5/.internal/plugins/json/Classes.d.ts:177
Google ChartsnativeAreaChartOptions.isStackedtypes · strong@types/google.visualization/index.d.ts:936
uPlotmanualOptions.hooksuPlot has no stacking; demo shows manual cumulative data + bandsmechanism · weakuplot/dist/uPlot.d.ts:394
TradingView Lightweight Chartsmanualgrep: ICustomSeriesPaneViewmechanism · weak1629: addCustomSeries<TData extends CustomData<HorzScaleItem>, TOptions extends CustomSeriesOptions, TPartialOptions extends SeriesPartialOptions<TOptions> = SeriesPartialOptions<TOptions>>(customPaneView
MUI X ChartsnativeLineChart.series.stacktypes · strong@mui/x-charts/models/seriesType/common.d.mts:85
Mermaid (chart-ish diagrams only)unknowngrep: stackconflict · unknown—
AntV G2nativegrep: stackYgrep · weak@antv/g2/lib/index.d.ts:27