Rebar UI

1.0

synthetic

WaterfallChart

A starting total, a run of increases and decreases, and the ending total.

Harbour rebrand budget bridgeFrom the approved budget to the forecast
£0£15,510£31,020£46,530£62,040£48,200Approved+£6,400Signage kit+£1,800Agency credit£-5,200Photography£-2,300Print overrun£48,900Forecast
Harbour rebrand budget bridge
Only increases
£0£5,005£10,010£15,015£20,020£10,000Start+£6,400Signage+£1,800Credit£18,200End
Extras
Only decreases
£0£5,500£11,000£16,500£22,000£20,000Start£-5,200Photography£-2,300Print£12,500End
Savings
Short
£0£2,585£5,170£7,755£10,340£9,400Start£9,400End
No change

In context

Project reviewThe bridge sits under the summary a lead reads first
Harbour rebrand

Forecast is £48,900 against £48,200 approved, due 24 Oct.

£0£15,510£31,020£46,530£62,040£48,200Approved+£6,400Signage kit+£1,800Agency credit£-5,200Photography£-2,300Print overrun£48,900Forecast
Budget bridge

Props

PropTypeRequiredDefault
stepsWaterfallChartStep[]Yes—
titlestring | undefinedNo—
ariaLabelstring | undefinedNo—
heightnumber | undefinedNo340
yFormat((v: number) => string) | undefinedNo(v: number) => Math.round(v).toLocaleString()
bionicboolean | undefinedNo—
bionicOptionsBionicOptions | undefinedNo—

Colours

Totals (isTotal) are drawn from zero in the primary colour; increases in the success colour, decreases in the danger colour, joined by dashed connectors.

data-rebar-* attributes

data-rebar-component="waterfall-chart" on the root <figure>.

Migrating to Ant Design

Not codemod-covered. AntD ships no chart components (it recommends @ant-design/charts); reimplement against the charting library your project already uses.