Charts · Gutenberg

Polar Area Chart block for WordPress

Beautiful polar area chart powered by Chart.js.

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

Beautiful polar area chart powered by Chart.js.

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

Behavior controls: “Legend Position” options: Top, Bottom, Left, Right; “Title Weight” options: SemiBold, Bold, ExtraBold, Black; “Legend Weight” options: Normal, Medium, SemiBold, Bold, ExtraBold.

Where to find it

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

How to use Polar Area 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 “Polar Area Chart”, insert it. Category: Charts.
  3. Configure inspector controls that exist on this block. Open Chart Data. Set “Show Title”, “Chart Data — Title”, “Labels”, “Values”.
  4. Check the published page. The view script reads HTML data attributes: data-chart. The block editor preview may not run the same view script.

Inspector controls from this block’s code

ControlWhat the code does
Show TitleOn/off toggle in the inspector. On by default. Saved as `showTitle`.
Chart Data — TitleText field in the inspector. block.json default: Polar Area Chart. Saved as `chartTitle`.
LabelsText field in the inspector. block.json default: Category A,Category B,Category C,Category D,Category E. Saved as `labels`.
ValuesText field in the inspector. block.json default: 30,25,20,15,10. Saved as `values`.
Fill Opacity %Numeric range control in the inspector. Range 10–100. block.json default: 75. Saved as `fillAlpha`.
Chart Size (px)Numeric range control in the inspector. Range 200–700. block.json default: 400. Saved as `size`.
Show LegendOn/off toggle in the inspector. On by default. Saved as `showLegend`.
Legend PositionSelect control; the chosen value is saved on the block. Options: Top; Bottom; Left; Right. block.json default: bottom. Saved as `legendPos`.
Border Radius (px)Numeric range control in the inspector. Range 0–32. block.json default: 12. Saved as `borderRadius`.
Title Font Size (px)Numeric range control in the inspector. Range 10–32. block.json default: 14. Saved as `titleFontSize`.
Title WeightSelect control; the chosen value is saved on the block. Options: SemiBold; Bold; ExtraBold; Black. block.json default: 700. Saved as `titleFontWeight`.
Legend Font Size (px)Numeric range control in the inspector. Range 8–24. block.json default: 12. Saved as `legendFontSize`.
Legend WeightSelect control; the chosen value is saved on the block. Options: Normal; Medium; SemiBold; Bold; ExtraBold. block.json default: 400. Saved as `legendFontWeight`.
Card BackgroundColor control in the inspector. block.json default: #ffffff. Saved as `bgColor`.

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 Polar Area Chart block in WordPress?

Install Blockenberg from WordPress.org, edit a page in the block editor, click +, and search for “Polar Area Chart”. It sits under Charts. After insert, open Chart Data and set “Show Title”, “Chart Data — Title”, “Labels”, “Values”.

Does Polar Area 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 Polar Area Chart Gutenberg block free?

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

Can I style Polar Area 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, Display).

Related charts blocks

Get Blockenberg

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

Get Blockenberg