Features · type

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.

Close is up.Close is up.Open: total 120120Won: 4040Close: total 160160050100150OpenWonClose
{
  "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.

LibraryStatusOptionVerificationSource
Chart.jsmanualPlugin.afterDatasetsDrawmechanism · weakchart.js/dist/types/index.d.ts:1051
RechartsmanualCustomizedmechanism · weakrecharts/types/component/Customized.d.ts:26
Apache EChartsmanualseries.type=customdocumented stacked-bar recipemechanism · weakecharts/types/dist/shared.d.ts:11176
Highchartsnativeseries.type=waterfalltypes · stronghighcharts/options/abands.d.ts:1386
Plotly.jsnativetrace.type=waterfalltypes · strongplot-schema.json#traces.waterfall
NivomanualLine.layersmechanism · weak@nivo/line/dist/types/types.d.ts:171
VictorymanualVictoryBarProps.dataComponentmechanism · weakvictory-core/lib/victory-util/common-props.d.ts:9
visxmanualGroupmechanism · weak@visx/group/lib/Group.d.ts:15
ApexChartsnativechart.type=waterfalltypes · strongapexcharts/types/apexcharts.d.ts:1767
Tremor (npm)none—absence · absence—
Observable Plotmanualgrep: renderbarY with cumulative transform (documented example)mechanism · weak@observablehq/plot/src/scales.d.ts:166
Vega-LitemanualTopLevelSpec.layerwindow transform recipe in examplesmechanism · weakvega-lite/build/spec/layer.d.ts:27
AG Chartsnativeseries.type=waterfalltypes · strongag-charts-types/dist/types/src/series/cartesian/areaOptions.d.ts:86
amCharts 5manualGraphicsdocumented 'waterfall' demo using openValueYmechanism · weak@amcharts/amcharts5/.internal/core/render/Graphics.d.ts:162
Google ChartspartialCandlestickChartdocumented waterfall trick using candlesticktypes · strong@types/google.visualization/index.d.ts:1260
uPlotmanualOptions.hooksmechanism · weakuplot/dist/uPlot.d.ts:394
TradingView Lightweight Chartsnone—absence · absence—
MUI X ChartsmanualChartsContainermechanism · weak@mui/x-charts/ChartsContainer/ChartsContainer.d.mts:34
Mermaid (chart-ish diagrams only)none—absence · absence—
AntV G2manualgrep: registerinterval + y1 recipemechanism · weak@antv/g2/lib/exports.d.ts:2