Variance chart
Actual vs plan per line item: levels and variance side by side, coloured by business direction.
A bridge from one total to another, with computed subtotals that always close.
<WaterfallChart />Waterfall chart is a Pro chart.
Installation is part of Pro
The full source is included in the Pro download. Get Pro to install it with the CLI and use it in unlimited projects.
Unlock with Pronpx chartslibraryui add waterfall-chart --from ./chartslibraryui-proUsage examples are part of Pro
Every example on this page comes with its code in the Pro download. The props and data shape below are public.
Unlock with ProAn ordered list of steps: { label, value, kind: 'total' | 'step' | 'subtotal' }.
[{ label: "Plan", value: 8.2e6, kind: "total" }, { label: "Volume", value: 640000 }, { label: "Actual", kind: "subtotal" }]Missing values are null. Invalid values make the chart say what’s wrong instead of drawing a misleading picture. How charts handle bad data
Every chart also accepts the shared frame props: title, subtitle, source, height, mode, toolbar. Common API
export interface WaterfallChartProps extends FrameProps {
data: WaterfallStep[];
format?: FormatInput;
/** Is an increase good? "down" for cost bridges. Default "up". */
favorable?: Favorable;
/** Value labels on bars. Default true. */
labels?: boolean;
/** Labels for the legend. */
increaseLabel?: string;
decreaseLabel?: string;
}Actual vs plan per line item: levels and variance side by side, coloured by business direction.
Variance to plan by period, split into drivers either side of zero with the net marked.
A generic income statement table with variances plus a walk to the bottom line.