M ChartM Chart
Users
Highcharts
Developers
Download
GitHub
Users
Highcharts
Developers
Download
GitHub
  • User Guide

    • User Guide
    • Libraries
    • Types of Charts
    • Creating a Chart
    • Multiple Sheets
    • Scatter & Bubble Charts
    • Radar & Radar Area Charts
    • Chart Shortcode
    • Block Editor
    • CSV Import & Export
    • Settings
    • Themes
    • Duplicating Charts
    • Example Charts

Creating a Chart

Charts are created as a custom post type in the WordPress admin. Navigate to M Chart → Add New to create one.

The Spreadsheet Interface

Data is entered in a spreadsheet-style editor. You can type values directly into cells or import a CSV file.

Spreadsheet Interface

Multi-Series Charts (Line, Spline, Area, Column, Bar)

For charts with multiple data series, organize your data so that:

  • The top-left cell is empty
  • Column headers (row 1, starting at column 2) are the x-axis labels
  • Row headers (column 1, starting at row 2) become the series names shown in the legend
  • Data values fill the remaining cells

Example:

JanFebMar
Dogs101412
Cats81115

Single-Series Charts (Pie, Doughnut, Polar)

For single-series charts, the top-left cell contains the first label — there is no empty corner cell:

  • Column 1 contains the category labels
  • Column 2 contains the values

Example:

Dogs42
Cats28
Fish15

Tips

This single-series data format also works for multi-series chart types (line, bar, etc.) when you only have one data series. M Chart detects the format automatically.

Chart Settings

Below the spreadsheet and directly below the live preview you'll find the chart settings.

Chart Settings

You'll find settings for:

  • Chart Type — Select from all supported chart types
  • Parse data in — Whether to parse data by rows or columns (default: rows)
  • Theme — Visual color theme
  • Legend — Show or hide the chart legend
  • Shared Tooltip — Show all series values in a single tooltip (line/area/spline/radar only)
  • X Axis Title / Y Axis Title — Optional axis labels
  • X Axis Units / Y Axis Units — Optional unit labels appended to axis titles (also populates a taxonomy)
  • Force vertical axis minimum — Locks the y-axis minimum to 0

Embedding

Each chart has an auto-generated shortcode shown at the bottom of the Chart Settings that can be copied and pasted into your posts. See Shortcode for embedding options. You can alternately use the M Chart block in the WordPress block editor.

Warning

If a chart is not published it will not render in your site and will not show in the Block UI.

Last Updated: 4/16/26, 6:33 PM
Contributors: Jamie Poitra, Claude Opus 4.6
Prev
Types of Charts
Next
Multiple Sheets