Linux 软件免费装
Banner图

Easy Charts

开发者 kiranpotphode
更新时间 2026年11月27日 21:51
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

charts chart graph pie chart bar chart

下载

1.0.3 1.1 1.2 1.2.1 1.2.2 1.2.5 2.0.0 2.0.1 1.0.0 1.0.1 1.0.2 1.2.3 1.2.4

详情介绍:

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: 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 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 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 What's new Breaking changes Breaking changes for developers 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.

安装:

  1. In your WordPress admin, go to Plugins → Add New, search for "Easy Charts", then install and activate it.
  2. Add a Chart block to a post or page, or go to Easy Charts → Add New Chart to make a reusable chart.
Easy Charts needs WordPress 6.6 or later and PHP 7.4 or later.

屏幕截图:

  • Editing chart data in the table.
  • Chart settings in the block sidebar.
  • Site-wide chart settings.
  • Charts on a page.

升级注意事项:

2.0.1 Security and reliability fixes: tighter access checks, and charts now draw in tabs, popups and print. Clear your page cache after updating. 2.0.0 Major update with breaking changes: charts are drawn with Apache ECharts and some 1.x options are gone. Your charts keep their 1.x look until you migrate them. Read "Upgrading from 1.x" before updating.

常见问题:

How do I show a chart in a post or page?

In the block editor, add a Chart block. To show a chart saved under Easy Charts, choose "Use an existing chart" and then "Embed". Anywhere else, use the chart's shortcode from the "Use this chart" panel on the chart's edit screen.

Can I use Easy Charts with the Classic Editor?

Yes. Charts are made in the block editor, and you place them in classic content with their shortcode, for example [easy_chart chart_id="123"].

What happens to my 1.x charts?

They keep working and keep their 1.x look until you migrate them, one at a time or all at once. See "Upgrading from 1.x" above.

Where is my data stored?

Saved charts are posts of the easy_charts type, with the chart in post meta. Charts made in a Chart block are stored in that block. Site-wide settings are stored in the easy_charts_settings option. Easy Charts creates no database tables. Deleting the plugin keeps all of this, including data from 1.x, so your charts come back if you install it again.

Does the chart work without JavaScript?

Visitors without JavaScript see the chart's data as a table.

A chart doesn't show, or shows only its data table. What can I check?

  • Clear your caching plugin's cache and your CDN's cache, then look at the page logged out, in a private window.
  • "Delay JavaScript execution" (WP Rocket, LiteSpeed Cache, SiteGround Optimizer and others): charts then draw only after the visitor's first click, scroll or key press. To draw them right away, exclude easy-charts from delaying. Deferred JavaScript is fine.
  • "Remove unused CSS" or "Unique CSS": safelist easy-charts, or exclude easy-charts/build/frontend.css.
  • Cloudflare Rocket Loader, and plugins that combine JavaScript files: if charts still don't draw, exclude easy-charts from them.
  • Open your browser's console: a chart that can't be drawn logs a message starting with "Easy Charts:" and shows its data table instead.
  • A chart inside a tab, popup, accordion or slider draws when it is shown. If a theme or plugin shows charts in a way Easy Charts can't notice, it can run window.easyCharts.refresh() or dispatch an easy-charts:refresh event on document.

Where is the source code?

The files in build are compiled from the source code on GitHub, where each release has a matching tag (for example v2.0.0). To build it yourself, check out the tag, run npm ci and npm run build, then composer install --no-dev.

更新日志:

2.0.1 2.0.0 1.2.5 Release Date - 25th Aug, 2025 1.2.4 Release Date - 18th Feb, 2025 1.2.3 Release Date - 4th May, 2024 1.2.2 Release Date - 6th May, 2023 1.2.1 Release Date - 20th September, 2018 1.2 Release Date - 10th June, 2017 1.1 Release Date - 4th September, 2016 1.0.3 Release Date - 18th April, 2016 1.0.2 Release Date - 28th January, 2016 1.0.1 Release Date - 25th January, 2016 1.0.0