Charts · Gutenberg

Speedometer Gauge block for WordPress

Half-circle gauge chart with colour zones and a needle pointer.

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

Half-circle gauge chart with colour zones and a needle pointer.

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

Speedometer Gauge 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 “Speedometer Gauge” (block name `blockenberg/speedometer` in block.json). Style it in the sidebar after insert.

How to use Speedometer Gauge block for WordPress

  1. Install Blockenberg. Install from WordPress.org and activate the plugin.
  2. Insert the block. Edit a page, click +, search for “Speedometer Gauge”, insert it. Category: Charts.
  3. Configure inspector controls that exist on this block. Open Chart Settings. Set “Chart Settings — Title”, “Show Title”, “Show Value”, “Show Min/Max Labels”.
  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: System Health Score. Saved as `title`.
Show TitleOn/off toggle in the inspector. On by default. Saved as `showTitle`.
Show ValueOn/off toggle in the inspector. On by default. Saved as `showValue`.
Show Min/Max LabelsOn/off toggle in the inspector. On by default. Saved as `showLabel`.
Show TicksOn/off toggle in the inspector. On by default. Saved as `showTicks`.
Show Zone LabelsOn/off toggle in the inspector. Off by default. Saved as `showZoneLabels`.
ValueNumeric range control in the inspector. block.json default: 67. Saved as `value`.
Min ValueNumeric range control in the inspector. Range -10000–0. block.json default: 0. Saved as `minValue`.
Max ValueNumeric range control in the inspector. Range 1–10000. block.json default: 100. Saved as `maxValue`.
Unit suffixText field in the inspector. block.json default: %. Saved as `unit`.
Canvas WidthNumeric range control in the inspector. Range 200–900. block.json default: 460. Saved as `svgWidth`.
Canvas HeightNumeric range control in the inspector. Range 140–600. block.json default: 280. Saved as `svgHeight`.
Arc ThicknessNumeric range control in the inspector. Range 8–60. block.json default: 28. Saved as `arcThickness`.
Needle LengthNumeric range control in the inspector. Range 40–220. block.json default: 110. Saved as `needleLength`.
Needle WidthNumeric range control in the inspector. Range 2–18. block.json default: 6. Saved as `needleWidth`.
Label Font SizeNumeric range control in the inspector. Range 8–22. block.json default: 13. Saved as `labelFontSize`.
Label Font WeightNumeric range control in the inspector. Range 300–900. block.json default: 400. Saved as `labelFontWeight`.
Value Font SizeNumeric range control in the inspector. Range 14–72. block.json default: 36. Saved as `valueFontSize`.
Value Font WeightNumeric range control in the inspector. Range 300–900. block.json default: 700. Saved as `valueFontWeight`.
NeedleColor control in the inspector. block.json default: #111827. Saved as `needleColor`.
Hub centreColor control in the inspector. block.json default: #ffffff. Saved as `centerColor`.
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`.
Colors — TextColor control in the inspector. block.json default: #374151. Saved as `textColor`.
LabelText field in the inspector.
FromNumeric range control in the inspector.
ToNumeric range control 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 Speedometer Gauge block in WordPress?

Install Blockenberg from WordPress.org, edit a page in the block editor, click +, and search for “Speedometer Gauge”. It sits under Charts. After insert, open Chart Settings and set “Chart Settings — Title”, “Show Title”, “Show Value”, “Show Min/Max Labels”.

What makes Speedometer Gauge different from other Blockenberg blocks?

Half-circle gauge chart with colour zones and a needle pointer. Inspector labels on this block include “Chart Settings — Title”, “Show Title”, “Show Value”, “Show Min/Max Labels”.

Is the Speedometer Gauge Gutenberg block free?

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

Can I style Speedometer Gauge 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, Zones).

Related charts blocks

Get Blockenberg

Install Blockenberg from WordPress.org, then insert Speedometer Gauge from the Gutenberg inserter.

Get Blockenberg