Charts · Gutenberg

Waterfall Chart block for WordPress

Financial waterfall (bridge) chart showing cumulative effect of sequential positive and negative values. Perfect for P&L analysis, budget breakdowns, and cash flow visualization.

Get Blockenberg

Free Gutenberg block in Blockenberg. The inspector controls and front-end behavior on this page come from this block’s source, not a shared stub.

Get Blockenberg

What it actually does

Financial waterfall (bridge) chart showing cumulative effect of sequential positive and negative values. Perfect for P&L analysis, budget breakdowns, and cash flow visualization.

Inspector panels on this block: Chart Data, Labels & Format, Appearance. Those titles come from index.js, not from a shared template.

Behavior controls: “Type” options: Starting value, Increase (+), Decrease (−), Total / Net.

Where to find it

Gutenberg inserter → Charts → search “Waterfall Chart” (block name `blockenberg/waterfall-chart` in block.json). Style it in the sidebar after insert.

How to use Waterfall Chart block for WordPress

  1. Install Blockenberg. Install from WordPress.org and activate the plugin.
  2. Insert the block. Edit a page, click +, search for “Waterfall Chart”, insert it. Category: Charts.
  3. Configure inspector controls that exist on this block. Open Chart Data. Set “Label”, “Value (negative = decrease)”, “Type”, “Chart title”.
  4. Check the published page. The view script reads HTML data attributes: data-opts, data-rendered. The block editor preview may not run the same view script.

Inspector controls from this block’s code

ControlWhat the code does
LabelText field in the inspector.
Value (negative = decrease)Text field in the inspector.
TypeSelect control; the chosen value is saved on the block. Options: Starting value; Increase (+); Decrease (−); Total / Net.
Chart titleText field in the inspector. block.json default: Revenue Waterfall. Saved as `title`.
Show titleOn/off toggle in the inspector. On by default. Saved as `showTitle`.
Value prefixText field in the inspector. block.json default: $. Saved as `valuePrefix`.
Value suffixText field in the inspector. Saved as `valueSuffix`.
Abbreviate large values (K, M, B)On/off toggle in the inspector. On by default. Saved as `abbreviate`.
Chart height (px)Numeric range control in the inspector. Range 200–700. block.json default: 380. Saved as `height`.
Bar max thickness (px)Numeric range control in the inspector. Range 20–100. block.json default: 48. Saved as `barThickness`.
Bar border radius (px)Numeric range control in the inspector. Range 0–20. block.json default: 4. Saved as `borderRadius`.
Max width (px)Numeric range control in the inspector. Range 400–1400. block.json default: 800. Saved as `maxWidth`.
Show connector linesOn/off toggle in the inspector. On by default. Saved as `showConnectors`.
Show data labelsOn/off toggle in the inspector. On by default. Saved as `showDataLabels`.
Show grid linesOn/off toggle in the inspector. On by default. Saved as `showGrid`.
Show legendOn/off toggle in the inspector. On by default. Saved as `showLegend`.
Padding topNumeric range control in the inspector. Range 0–120. block.json default: 0. Saved as `paddingTop`.
Padding bottomNumeric range control in the inspector. Range 0–120. block.json default: 0. Saved as `paddingBottom`.
Label sizeNumeric range control in the inspector. Range 8–18. block.json default: 12. Saved as `labelSize`.
Value sizeNumeric range control in the inspector. Range 8–18. block.json default: 11. Saved as `valueSize`.
Colors — BackgroundColor control in the inspector. block.json default: #ffffff. Saved as `bgColor`.
Colors — TitleColor control in the inspector. block.json default: #111827. Saved as `titleColor`.
Labels / axisColor control in the inspector. block.json default: #6b7280. Saved as `labelColor`.
Grid linesColor control in the inspector. block.json default: #e5e7eb. Saved as `gridColor`.
ConnectorsColor control in the inspector. block.json default: #9ca3af. Saved as `connectorColor`.
Start barsColor control in the inspector. block.json default: #6366f1. Saved as `startColor`.
Increase barsColor control in the inspector. block.json default: #10b981. Saved as `increaseColor`.
Decrease barsColor control in the inspector. block.json default: #ef4444. Saved as `decreaseColor`.
Total barsColor control in the inspector. block.json default: #8b5cf6. Saved as `totalColor`.

What the front-end script actually does

When this is the right block

Notes from the implementation

viewScript: this folder’s frontend.js is enqueued on the front end for this block.

FAQ

How do I add the Waterfall Chart block in WordPress?

Install Blockenberg from WordPress.org, edit a page in the block editor, click +, and search for “Waterfall Chart”. It sits under Charts. After insert, open Chart Data and set “Label”, “Value (negative = decrease)”, “Type”, “Chart title”.

Does Waterfall Chart need a server or extra plugin?

No. After Blockenberg is active, the view script runs in the browser with the values you saved on the block.

Is the Waterfall Chart Gutenberg block free?

Yes. Waterfall Chart ships inside Blockenberg. Get the plugin from WordPress.org — no paid add-on is required for this block.

Can I style Waterfall Chart to match my theme?

Yes. Blockenberg’s shared typography and color panels apply here, plus any block-specific style controls listed on this page (panels: Chart Data, Labels & Format, Appearance).

Related charts blocks

Get Blockenberg

Install Blockenberg from WordPress.org, then insert Waterfall Chart from the Gutenberg inserter.

Get Blockenberg