[WordPress] 外掛分享: Pie and Donut charts

前言介紹

  • 這款 WordPress 外掛「Pie and Donut charts」是 2020-08-05 上架。
  • 目前有 10 個安裝啟用數。
  • 上一次更新是 2020-08-06,距離現在已有 1732 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

varunkatyal |

外掛標籤

charts | chart.js | pie chart | elementor widget | interactive charts |

內容簡介

使用 chart.js 库创建交互式饼图:

1)使用简短的代码

2)Elementor 饼图插件

代码示例-

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’]

特点

* 100%响应式和交互式
* 在文章和页面任何位置使用
* 编写或创建简短的代码。
* Elementor 部件,可实时编辑图表
* 使用开源的 chart.js JavaScript 库
* 对于同一页面上的多个图表,请使用唯一的 ID / 图表 ID
* 基于 Canvas 的图表
* Shortcode 需要 4 个参数。 1)id 2)data 3)label 4)type
* "type" 参数可以是 1)饼图 2)圆环图 3)极地区域图

原文外掛簡介

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

* Shortcode requires 4 parameters. 1) id 2) data 3) label 4) type
* "type" paratmeter can be either 1) pie 2) doughnut 3) polarArea

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Pie and Donut charts」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.0.0 | 1.0.1 | trunk |

延伸相關外掛(你可能也想知道)

文章
Filter
Apply Filters
Mastodon