Skip to content
Styleof the Chart component

Waterfall Chart

Generate waterfall chart images for cash-flow bridges, P&L attribution and budget variance — pass the step deltas and render a fresh image per API call.

Updated

Waterfall Chart style, sample render

What this style sets

A style is the chart component with a few properties set. Send these, or start from the style in the editor.

{
  "sales.chartType": "waterfall",
  "sales.data": [5000, 1800, -1200, 900, -1500],
  "sales.labels": ["Start", "Sales", "Refunds", "Upsell", "Costs"],
  "sales.showValues": true,
  "sales.valueFormat": "compact"
}

Good for

  • Cash-flow bridge images for finance updates
  • Revenue-to-profit P&L attribution graphics
  • Budget vs actual variance in board reports

Try your own data

Change the waterfall chart here with the same controls the editor shows. The preview updates as you type, and you get the API request for your changes.

Examples

Each example is the same waterfall chart with different values. The JSON is what you send.

Revenue to net profit bridge

Gross revenue stepped down through costs to net profit, currency-formatted.

{
  "sales.chartType": "waterfall",
  "sales.data": [120000, -38000, -22000, -14000, -9000],
  "sales.labels": ["Revenue", "COGS", "Payroll", "Marketing", "Other"],
  "sales.showValues": true,
  "sales.valueFormat": "currency",
  "sales.currencySymbol": "$",
  "sales.colors": ["#16A34A", "#DC2626"]
}

Monthly cash-flow bridge

Opening balance adjusted by inflows and outflows to the closing balance.

{
  "sales.chartType": "waterfall",
  "sales.data": [8000, 4200, -2600, 1500, -3100],
  "sales.labels": ["Open", "Income", "Rent", "Refunds", "Payroll"],
  "sales.showValues": true,
  "sales.valueFormat": "compact"
}

New values, every render

Feed fresh numbers via '<key>.data' (or '<key>.series' for multi-series), and swap '<key>.labels' or '<key>.chartType' per render. Send only the properties you want to change; everything else keeps its design value. The API guides cover every language.

Or ask your AI agent“Using imejis, make a 1200 × 630 image with the Waterfall style of the Chart component (type "chart") filled with my data, then give me a render link I can call with new values.”
curl -X POST "https://render.imejis.io/v1/$IMEJIS_DESIGN_ID" \
  -H "dma-api-key: $IMEJIS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "sales.chartType": "waterfall",
    "sales.data": [5000, 1800, -1200, 900, -1500],
    "sales.labels": ["Start", "Sales", "Refunds", "Upsell", "Costs"],
    "sales.showValues": true,
    "sales.valueFormat": "compact"
  }' \
  -o image.png

Other chart styles

Waterfall Chart questions

What does the Waterfall style change on the chart component?

A running-total bar chart: each step adds or subtracts from the prior total, colored up/down with connectors. It sets 5 properties on the chart component: chartType, data, labels, showValues, valueFormat. Everything else keeps the component's defaults, so your data and layout carry over.

How do I render the waterfall chart through the API?

Add a chart component to a design, then send its data together with the style's properties as flat overrides (for example sales.chartType and sales.data) in the render request. Each render can carry different data while keeping the Waterfall look.

Can I change the chart data per API call?

Yes — send '<key>.data' for a single series or '<key>.series' for multi-series, plus '<key>.labels'; even chartType can switch per render.

Which chart types are supported?

Bar (vertical or horizontal), line and area — with stacking for multiple series and a sparkline mode that hides axes, grid and labels.

Free tools built on it, guides that use it, and the components that sit beside it.