這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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