该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Pie and Donut charts

描述

Make interactive pie charts using chart.js library using:

1) Simple short code

2) Elementor Widget Pie Chart

Shortcode Example-

1) [piechart id = ’23’ data = ‘20,40,30’ label = ‘apple,orange,grapes’ type = ‘polarArea’]

2) [piechart id = ’24’ data = ‘20,40,30,60’ label = ‘apple,orange,grapes,cherry’ type = ‘pie’]

3) [piechart id = ’25’ data = ‘20,40,30,60’ label = ‘apple,orange,grapes,cherry’ type = ‘doughnut’]

Features

    * 100% Responsive and interactive
* Use anywhere in post and pages.
* Write or Create simple short code.
    * Elementor Widget for live editing of charts
    * Using Open source chart.js Javascript Library
    * For multiple charts on same page, use unique id/chart id
    * Canvas based charts</li>
    * Shortcode requires 4 parameters. 1) id 2) data  3) label 4) type
    * "type" paratmeter can be either 1) pie 2) doughnut 3) polarArea

屏幕截图

  • Polar chart
  • Elementor Interface

安装

Method 1:

On your WordPress admin dashboard
Visit ‘Plugins > Add New’
Search for ‘Pie and Donut Chart’ and install the plugin.
Activate ‘Pie and Donut Chart ’ from your Plugins page.

Method 2:

Download the plugin from WordPress.org repository
On your WordPress admin dashboard, go to ‘Plugins> Add New> Upload Plugin’.
Upload the downloaded plugin file (Pie-and-donut-Chart.zip) and click ‘Install Now’
Activate ‘Pie and Donut Chart’ from your Plugins page.

Once the plugin is activated, you can create charts through
shortcodes or through elementor widget(Pie Chart)

常见问题

How can I generate a chart?

You can generate charts either through shortcodes or Elementor widget.

Shortcode examples

1) [piechart id = ’23’ data = ‘20,40,30’ label = ‘apple,orange,grapes’ type = ‘polarArea’]

2) [piechart id = ’24’ data = ‘20,40,30,60’ label = ‘apple,orange,grapes,cherry’ type = ‘pie’]

3) [piechart id = ’25’ data = ‘20,40,30,60’ label = ‘apple,orange,grapes,cherry’ type = ‘doughnut’]

Can I display more than one chart on the same page?

Yes, you can create unlimited charts. Use unique id/chart ID for multiple charts on same page.

评价

此插件暂无评价。

贡献者及开发者

“Pie and Donut charts” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Pie and Donut charts”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0.0

Initial Release