Charts · Gutenberg

Step Chart block for WordPress

A step-function line chart where values change abruptly — ideal for pricing tiers, subscription counts, and discrete state changes over time.

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

A step-function line chart where values change abruptly — ideal for pricing tiers, subscription counts, and discrete state changes over time.

Inspector panels on this block: Chart Settings, Layout, Series. Those titles come from index.js, not from a shared template.

Step Chart has no render.php and no frontend.js. The saved Gutenberg HTML is what visitors see, plus Blockenberg layout/typography CSS.

Where to find it

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

How to use Step 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 “Step Chart”, insert it. Category: Charts.
  3. Configure inspector controls that exist on this block. Open Chart Settings. Set “Chart Settings — Title”, “Show Title”, “Fill Area”, “Show Grid Lines”.
  4. Publish. Save the page. Output is the saved block HTML; typography/colors follow Blockenberg shared panels.

Inspector controls from this block’s code

ControlWhat the code does
Chart Settings — TitleText field in the inspector. block.json default: Subscription Tiers Over Time. Saved as `title`.
Show TitleOn/off toggle in the inspector. On by default. Saved as `showTitle`.
Fill AreaOn/off toggle in the inspector. On by default. Saved as `fillArea`.
Show Grid LinesOn/off toggle in the inspector. On by default. Saved as `showGridLines`.
Show DotsOn/off toggle in the inspector. On by default. Saved as `showDots`.
Show ValuesOn/off toggle in the inspector. Off by default. Saved as `showValues`.
Show LegendOn/off toggle in the inspector. On by default. Saved as `showLegend`.
X-Axis Labels (comma separated)Text field in the inspector. Saved as `xLabels`.
Canvas WidthNumeric range control in the inspector. Range 300–1200. block.json default: 700. Saved as `svgWidth`.
Canvas HeightNumeric range control in the inspector. Range 120–700. block.json default: 340. Saved as `svgHeight`.
Line ThicknessNumeric range control in the inspector. Range 1–10. block.json default: 3. Saved as `lineThickness`.
Dot RadiusNumeric range control in the inspector. Range 2–18. block.json default: 5. Saved as `dotRadius`.
Fill Opacity %Numeric range control in the inspector. Range 0–70. block.json default: 20. Saved as `fillOpacity`.
Label Font SizeNumeric range control in the inspector. Range 8–22. block.json default: 12. Saved as `labelFontSize`.
Value Font SizeNumeric range control in the inspector. Range 7–16. block.json default: 10. Saved as `valueFontSize`.
Colors — BackgroundColor control in the inspector. block.json default: #ffffff. Saved as `bgColor`.
Grid LinesColor control in the inspector. block.json default: #f3f4f6. Saved as `gridColor`.
Title ColorColor control in the inspector. block.json default: #111827. Saved as `titleColor`.
Text ColorColor control in the inspector. block.json default: #374151. Saved as `textColor`.
LabelText field in the inspector.
Values (comma separated)Text field in the inspector.

When this is the right block

Notes from the implementation

Static block: markup is saved in post content; no PHP render callback in this folder.

FAQ

How do I add the Step Chart block in WordPress?

Install Blockenberg from WordPress.org, edit a page in the block editor, click +, and search for “Step Chart”. It sits under Charts. After insert, open Chart Settings and set “Chart Settings — Title”, “Show Title”, “Fill Area”, “Show Grid Lines”.

What makes Step Chart different from other Blockenberg blocks?

A step-function line chart where values change abruptly — ideal for pricing tiers, subscription counts, and discrete state changes over time. Inspector labels on this block include “Chart Settings — Title”, “Show Title”, “Fill Area”, “Show Grid Lines”.

Is the Step Chart Gutenberg block free?

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

Can I style Step 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 Settings, Layout, Series).

Related charts blocks

Get Blockenberg

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

Get Blockenberg