Waterfall
native
Running total with positive/negative deltas and totals
Matrix status native. Verification types · strong. ChartKit option: ChartKitChartSpecV1.type=waterfall.
@chartkitdev/core/extra
Source: chartkit:packages/core/src/generated/schema.ts:24
ChartKit spec
Passed validate() during npm run matrix:refresh. The SVG is the server render.
{
"version": "1",
"type": "waterfall",
"data": [
{
"x": "Open",
"y": 120,
"total": true
},
{
"x": "Won",
"y": 40
},
{
"x": "Close",
"y": 160,
"total": true
}
],
"encoding": {
"x": "x",
"y": "y"
},
"a11y": {
"alt": "Close is up."
},
"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.bar.waterfall.md.
| Library | Status | Option | Verification | Source |
|---|---|---|---|---|
| Chart.js | manual | Plugin.afterDatasetsDraw | mechanism · weak | chart.js/dist/types/index.d.ts:1051 |
| Recharts | manual | Customized | mechanism · weak | recharts/types/component/Customized.d.ts:26 |
| Apache ECharts | manual | series.type=customdocumented stacked-bar recipe | mechanism · weak | echarts/types/dist/shared.d.ts:11176 |
| Highcharts | native | series.type=waterfall | types · strong | highcharts/options/abands.d.ts:1386 |
| Plotly.js | native | trace.type=waterfall | types · strong | plot-schema.json#traces.waterfall |
| Nivo | manual | Line.layers | mechanism · weak | @nivo/line/dist/types/types.d.ts:171 |
| Victory | manual | VictoryBarProps.dataComponent | mechanism · weak | victory-core/lib/victory-util/common-props.d.ts:9 |
| visx | manual | Group | mechanism · weak | @visx/group/lib/Group.d.ts:15 |
| ApexCharts | native | chart.type=waterfall | types · strong | apexcharts/types/apexcharts.d.ts:1767 |
| Tremor (npm) | none | — | absence · absence | — |
| Observable Plot | manual | grep: renderbarY with cumulative transform (documented example) | mechanism · weak | @observablehq/plot/src/scales.d.ts:166 |
| Vega-Lite | manual | TopLevelSpec.layerwindow transform recipe in examples | mechanism · weak | vega-lite/build/spec/layer.d.ts:27 |
| AG Charts | native | series.type=waterfall | types · strong | ag-charts-types/dist/types/src/series/cartesian/areaOptions.d.ts:86 |
| amCharts 5 | manual | Graphicsdocumented 'waterfall' demo using openValueY | mechanism · weak | @amcharts/amcharts5/.internal/core/render/Graphics.d.ts:162 |
| Google Charts | partial | CandlestickChartdocumented waterfall trick using candlestick | types · strong | @types/google.visualization/index.d.ts:1260 |
| uPlot | manual | Options.hooks | mechanism · weak | uplot/dist/uPlot.d.ts:394 |
| TradingView Lightweight Charts | none | — | absence · absence | — |
| 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 | manual | grep: registerinterval + y1 recipe | mechanism · weak | @antv/g2/lib/exports.d.ts:2 |