Easy Charts
Turn a table of numbers into a clear, interactive chart.
Install in
Easy Charts turns a table of numbers into an interactive chart that you can place on any post or page.
Version 2.0 draws charts with Apache ECharts and adds a Chart block for the block editor. Charts made with Easy Charts 1.x, and the [easy_chart] shortcodes that show them, keep working.
Version 2.0 is a major update with breaking changes. Your charts are kept and keep their 1.x look until you choose to migrate them, but some 1.x options and features are gone. Read “Upgrading from 1.x” below before you update.
Make a chart in the block editor
Add the Chart block and choose how to start:
- New chart: pick one of the 12 chart types and start from sample data.
- Paste data: copy cells from Excel, Google Sheets or Numbers, or paste CSV.
- Use an existing chart: embed a saved chart, or copy its data or its settings into a new one.
Edit the data in a spreadsheet-style table, or paste it as text. Style the chart in the block sidebar: title, size, font, orientation, axis labels, legend, tooltips, value labels with a prefix and suffix, colours, background, curved lines, area opacity, donut hole size and a download button.
Reusable charts
Easy Charts Add New Chart saves a chart that you can show in many places, with the Chart block (“Use an existing chart”) or with its shortcode, for example [easy_chart chart_id="123"]. The shortcode also works in the Classic Editor and in widgets. Change the chart once and every page that shows it is updated.
Site-wide chart settings
Easy Charts Settings sets the defaults for every chart on the site: font, colours, legend, tooltips, value labels, size and more. A chart’s own settings override them. By default, charts use your theme’s font. Charts made with Easy Charts 1.x follow these settings once you migrate them.
12 chart types
- Bar, stacked bar, percent bar and step-up bar
- Line
- Area, stacked area and percent area
- Pie, donut and polar area
- Waterfall
Every chart type uses the same data table, so you can switch types without changing the data. Bar, line, area and waterfall charts can be drawn vertically or horizontally.
Accessible
- Every chart comes with its data as a table: screen readers read it, visitors without JavaScript see it, and search engines can index it.
- Each chart has a short text description, and animations are turned off for visitors who prefer reduced motion.
- The editor works with the keyboard. Charts, the editor and the settings page are tested with axe against WCAG 2.2 AA.
Download as PNG
Turn on a download button to let visitors save a chart as a PNG image.
Light on your pages
Chart scripts load only on pages that show a chart. Easy Charts adds no database tables: saved charts are posts, block charts live in the block, and site-wide settings are one option.
Upgrading from 1.x
Your charts are kept
- Updating changes nothing in the database. Your 1.x charts and their settings stay as they are, and every
[easy_chart]shortcode keeps working. - Each 1.x chart keeps its 1.x look: its colours (including the 1.x “Default” palette), fonts, sizes and other settings. The site-wide settings under Easy Charts Settings don’t apply to it. You can edit and save it in 2.0 without changing that.
- When you are ready, migrate a chart to the 2.0 styling: open it and choose Migrate to 2.0, or migrate all of them at once under Easy Charts Settings. A migrated chart keeps everything you changed in 1.x, and uses the 2.0 styling and the site-wide settings for the rest, so its default colours and font can change.
- Migrating, and saving a chart in 2.0, store the chart in a new place. The 1.x data is never changed or deleted, so you can go back to 1.2.5 (see below).
What’s new
- Charts are drawn with Apache ECharts: sharper, interactive and responsive.
- A Chart block for the block editor, with a setup wizard, a spreadsheet-style data editor, pasting from spreadsheets and CSV, and a settings sidebar with a live preview.
- Saved charts are edited in the block editor too, with a “Use this chart” panel that shows the shortcode.
- Site-wide chart settings, including a font setting (your theme’s font, sans-serif, serif or monospace) and a text size.
- Every chart comes with its data as a table, for screen readers, visitors without JavaScript and search engines.
- Horizontal line, area, step-up and waterfall charts, a custom chart title, curved lines, area opacity and donut hole size.
Breaking changes
- Charts are drawn differently. 2.0 draws with Apache ECharts instead of uvCharts. Even while a chart keeps its 1.x look, its bars, lines, legend, labels and tooltips are drawn in the ECharts style, so it won’t be pixel-identical to 1.x.
- Some 1.x options are gone and have no effect: fonts and font sizes for each part of the chart (2.0 has one font and one text size per chart; a 1.x chart’s caption font and label size are used), font weights and colours, margins, axis tick, opacity and line settings, logarithmic, power and square-root scales, area offset, pie and donut outlines, plot background, axis sub-labels, legend type, start and symbol size, and tooltip format. 1.x let you pick one of 15 fonts but never loaded them, so visitors without that font saw a fallback; 2.0 uses the matching generic font (sans-serif, serif or monospace).
- The 1.x chart editor is replaced. Charts are edited in the block editor, even when the Classic Editor plugin is active.
- The Easy Charts button in the Classic Editor toolbar is gone. Use the shortcode, shown in the “Use this chart” panel when you edit a chart.
- Private charts are shown only to people who are allowed to read them. 1.x showed them to every visitor.
- Empty cells are drawn as gaps. 1.x drew them as 0.
- Numbers with thousands separators, such as “1,234”, are read as text. 1.x plotted them as 1.
- A chart with no data shows nothing to visitors. People who can edit it see a notice with a link to fix it.
- New requirements: WordPress 6.6 and PHP 7.4. 1.x ran on WordPress 3.0.
Breaking changes for developers
- The chart markup changed. A chart is now a
<figure class="easy-charts-chart">with an.easy-charts-chart__canvasbox and an.easy-charts-chart__tabledata table inside.easy-charts-chart__data. The 1.x.ec-uv-chart-containerand.uv-div-{ID}elements, theec_object_{ID}JavaScript objects and theuvglobal no longer exist, so custom CSS or JavaScript that targets them needs updating. - The uvCharts, D3, canvg and FileSaver scripts, the
Easy_Chartsclass and theeasy_charts_save_chart_dataandeasy_charts_get_published_chartsadmin-ajax actions are removed. - The
easy_charts_render_chartfilter is kept. It now filters the ECharts chart markup. easy_charts_get_chart_configurationsis still applied when a 1.x chart is converted.easy_charts_get_chart_datais deprecated, because the uvCharts data it filtered is no longer used. Useeasy_charts_convert_v1_chartto change a converted chart.- The
easy_charts_fontsandeasy_chart_dropdownfilters are removed.
Going back to 1.2.5
Charts you haven’t saved or migrated in 2.0 are unchanged. Charts you saved or migrated in 2.0 go back to how they were in 1.x, because their 1.x data was kept; changes made in 2.0 don’t show in 1.x. Charts created in 2.0, and Chart blocks, don’t show in 1.x.
Third-party libraries
Easy Charts includes these libraries, all under licences compatible with the GPL:
- Apache ECharts 6.1.0: Apache License 2.0
- ZRender 6.1.0: BSD 3-Clause
- tslib 2.3.0: 0BSD
- Jspreadsheet CE 5.0.4: MIT (editor only)
- jSuites 5.13.5: MIT (editor only)
Written by Joobi from the project's own listing. See the source page
2.0.0
- New: charts are drawn with Apache ECharts.
- New: Chart block with a setup wizard, a spreadsheet-style data editor, paste from spreadsheets or CSV, and a settings sidebar with live preview.
- New: embed a saved chart in the Chart block, or copy its data or settings.
- New: site-wide chart settings under Easy Charts Settings.
- New: saved charts are edited in the block editor, with a “Use this chart” panel showing the shortcode.
- New: every chart comes with a data table for screen readers, visitors without JavaScript and search engines.
- New: horizontal orientation for line, area, step-up and waterfall charts, and a custom chart title.
- New: font setting (theme font, sans-serif, serif or monospace) and text size, site-wide or per chart.
- New: curved lines, area opacity and donut hole size settings; values changed in 1.x are kept.
- Changed: 1.x charts are converted when shown or opened, and keep their 1.x look (colours, fonts and other settings) until you migrate them, per chart or all at once. Their 1.x data is never changed.
- Removed: uvCharts and its scripts, the 1.x chart editor, the Classic Editor toolbar button, and the options listed under “Upgrading from 1.x”.
- Security: chart data is validated and escaped on output. The 1.x admin-ajax handlers are removed.
- Requires WordPress 6.6 and PHP 7.4.
1.2.5
Release Date – 25th Aug, 2025
- Replace handsontable with jspreadsheet js
1.2.4
Release Date – 18th Feb, 2025
- Add Sanitization for shortcode attributes.
1.2.3
Release Date – 4th May, 2024
- PHPCS coding standard fixes.
1.2.2
Release Date – 6th May, 2023
- Fix Deprecation warnings.
1.2.1
Release Date – 20th September, 2018
- PHPCS coding standard fixes.
1.2
Release Date – 10th June, 2017
- Update the charts library.
- New color palletes.
1.1
Release Date – 4th September, 2016
- Support added for Legend configuration.
- Code refactor to match coding standards.
1.0.3
Release Date – 18th April, 2016
- Support added for changing output using filters.
- Duplicate files moved to common folder.
1.0.2
Release Date – 28th January, 2016
- Fonts added in chart configuration.
- Visual Editor button – chart title added for blank chart title.
1.0.1
Release Date – 25th January, 2016
- Broken shortcode bug fixed.
- Download responsive chart bug fixed.
- Load scripts on shortcode screen only.
1.0.0
- Plugin released.
Follow this listing's changes (Atom feed)