Themes
Available since version 1.8 (Chart.js).
Themes control the color palette and point styles used by Chart.js charts. The active default theme is selected in Charts → Settings.
Built-in Themes
M Chart ships with five themes:
| Theme | Description |
|---|---|
| M Chart | The default theme — M Chart's own brand palette (blues, gray, peach, coral, red) |
| Chart.js | The color palette M Chart used as its default prior to version 2.2 |
| Chart.js 3.x | Uses the default Chart.js 3.x color palette |
| Color Blind Safe | The Okabe–Ito palette, designed to be distinguishable for users with common forms of color blindness, paired with distinct point shapes per series |
| Highcharts 4.x | Approximates the default color scheme from Highcharts 4 |
What changed in 2.2
The built-in default theme was switched to the new M Chart palette. Charts left on the default theme will look visually different after updating — this is expected and no action is required. The palette M Chart used as its default before 2.2 is preserved as the Chart.js theme, so switching a chart to it restores the previous look.
Custom Themes
Developers can add themes as PHP files inside your WordPress theme. Each one appears in the theme selector next to the built-in themes. See Custom Chart.js Themes in the developer docs. M Chart Pro's Theme Builder builds themes visually, with no files.
Per-Chart Theme
Each chart can use a different theme regardless of the site-wide default. Select the theme in the Theme dropdown on the chart edit screen.