-
Notifications
You must be signed in to change notification settings - Fork 23
Home
M Chart is a WordPress plugin for creating interactive charts and graphs. Data is entered through a spreadsheet-like interface directly in the WordPress admin, and charts are embedded in posts and pages using a shortcode or block UI. Charts render as interactive JavaScript by default, with an automatic fallback to a static PNG image in RSS feeds, Atom feeds, and AMP pages.
M Chart supports two charting libraries: Chart.js (the default, MIT licensed) and Highcharts (optional, requires a separate plugin). See Libraries for guidance on choosing between them.
Everything you need to create, configure, and embed charts in your WordPress site.
- Creating a chart — how to enter data, configure chart options, and preview your chart
- Types of charts — an overview of the available chart types
- Chart shortcode — embedding charts in posts and pages, and how the image fallback works
- Settings — global plugin settings including library selection, image generation, and iFrame embeds
- Themes — applying and creating custom color themes
- CSV importing/exporting — importing data from spreadsheet applications and exporting chart data
- Example charts — downloadable example charts to get started quickly
Resources for extending M Chart, integrating it with custom themes or plugins, and upgrading from earlier versions.
- Libraries — comparing Chart.js and Highcharts, licensing considerations
- Action and filter hooks — PHP hooks for customizing chart rendering, templates, and plugin behavior
-
Javascript events — front-end
CustomEvents fired during chart rendering -
Admin UI Javascript hooks —
wp.hooks-based API for extending the React admin interface - Migrating to v2 — breaking changes from v1.x and how to update existing integrations
User Documentation
- Libraries
- Types of charts
- Creating a chart
- Example charts
- Chart shortcode
- CSV importing/exporting
- Settings
- Themes
- Duplicating charts
Developer Documentation
Guides
Highcharts Library