[WordPress] 外掛分享: Blazing Charts

WordPress 外掛 Blazing Charts 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Blazing Charts」是 2015-09-01 上架。
  • 目前有 200 個安裝啟用數。
  • 上一次更新是 2018-03-23,距離現在已有 2599 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 3.0.1 以上版本才可以安裝。
  • 有 4 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

massoudshakeri |

外掛標籤

maps | graph | charts | morris.js | highcharts |

內容簡介

8221;, “$my_class->my_method”, or “[my_function]”.

“width”:
The third parameter specifies the width of the chart. This parameter is optional and the default value is “100%”.

“height”:
The forth parameter specifies the height of the chart. This parameter is optional and the default value is “300px”.

Please note that this plugin does not support using more than one charting library in the same post or page.

原文外掛簡介

We are not going to re-invent the wheel, and this plugin is not going to give you another charting library. This purpose of this plugin is to let you get the most out of charting libraries that already exist and are awesome. There are many of them out there, and most of them are free. Many of the other commercial libraries are free for a personal or non-profit project, or have a free branded version, which may have a small link to their website.
Here is a list of libraries currently added to the collection. If you know another charting library, compatible with GPL license, please inform us to add it.

HighCharts.js: The library used (disabled by default) is a free version with a small link to their website, and can be used if the user’s site opts in to link. This plugin does NOT substitute HighCharts terms of use. HighCharts use is free for a personal or non-profit project under the Creative Commons Attribution-NonCommercial 3.0 License.Please refer to HighCharts license page http://shop.highsoft.com/highcharts.html to check the HighCharts precise license conditions.
Morris.js
ZingChart: The library used (disabled by default) is a free branded version, and can be used if the user’s site opts in to link. This plugin does NOT substitute ZingChart terms of use.Please refer to ZingChart license page https://www.zingchart.com/buy/details/branded-license/ to check the ZingChart precise license conditions.
Chart.js
Google Charts: by loading Google’s JSAPI library loader remotely (as a service), and then using it to load the visualization library and other packages
D3.js
Chartist.js
Smoothie Charts
Flot Charts

Please refer to the license page of a library you want to use to check the precise license conditions.
What does this plugin do?
This plugin allows you to create chart code snippets, which can be inserted into the posts or pages by using the shortcode of “BlazingChart”.
Another scenario is you have a function, defined in another plugin or in your theme, which extracts data from database and produces the scripts for the chart. Then you can give the name of that function as a parameter to the shortcode, so the function is called and the output of that function will be inserted in the page.
The “BlazingChart” shortcode can have up to 4 parameters:

“charttype”:
The first parameter of that shortcode tells which Charting library you want to use. At the moment the value of this parameter can be one of these:

highcharts: for HighCharts.js
morris: for Morris.js
zingchart: for ZingChart
chartjs: for Chart.js
google: for Google Charts
d3: for D3.js
chartist: for Chartist.js
smoothie: Smoothie Charts
flot: for Flot library

Other than Google Charts which does not have a local version of library, all the other libraries are included in this plugin. Some of them are hosted on a CDN as well. So by changing the settings, you can easily switch between remote or local chart/map libraries.

“source”:
The second parameter specifies the user-friendly slug of the chart snippet as the source of script and data for the chart.

“function”:
If a function, defined in another plugin or in the theme, is going to produce the data and script for the chart, the name of that function can be given as the value of this parameter. This value can be not only a function name, but also other types of callbacks, like “Foo::method”, “array(‘Foo’, ‘method’)”, or “array($obj, ‘method’)”.

“options”:
Some of the charting libraries are just a single file. But others, like Flot, are divided to a main library and several auxiliary libraries, to make it lighter and more efficient. By using this parameter, you can give a comma separated list of auxiliary libraries of the main library to load. Here is the list of options for each library:

HighCharts.js: more, 3d, exporting
D3.js : pie, nvd3
Chart.js : bundle
Flot Charts : colorhelpers, canvas, categories, crosshair, errorbars, fillbetween, image, navigate, pie, resize, selection, stack, symbol, threshold, time

How Charting libraries are used?
To include JavaScript files efficiently, none of these libraries are enqueued, until the shortcode of “BlazingChart” appears in a post or a widget. The plugin loads only one of these libraries, specified by “charttype” parameter. Moreover, to load the page faster, that library is loaded in the footer.
You can also use a built-in PHP function to invoke the chart anywhere in your template:
“name of one of the aforementioned charting libraries”,
“source” => “slug of the chart snippet”,
“options” => “auxiliary libraries to load”
);
// call the function to invoke the shortcode handler
blazing_charts_insert($patts);
?>
As always, there are exceptions:
To reduce the size of the libraries loaded for Google Charts, that library decides which portions of the library to be included, depending to the type of the chart. So the link to the CDN library must be included at the top of the script, saved in the chart snippet.
How To use this plugin:

Although theoretically you can have various charts in a single page, drawn by more than one charting library, it is advisable not to do that. These libraries may conflict with each other, and may not get any of the charts drawn properly. Just make sure in every page, only one of those libraries is included.

Every chart has two major parts: first a container, specified by a

or tag, with a certain id or class; and second a script which tells how that chart should be drawn.

If you have more than one chart in a single page, make sure each chart, saved as a Chart Snippet or produced by a function, has a unique id or class for its container. Otherwise there will be a conflict between those charts.

Shortcodes are case-sensitive. So if you want to use the shortcode of [BlazingChart], please make sure to type it correctly.

Examples
I tried to bring some examples about each of the libraries, in this plugin’s URI:
http://blazingspider.com/wp-demo
Documentation
The detailed and updated version of documentation can be found in this link:
http://blazingspider.com/plugins/blazing-charts

各版本下載點

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

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


1.0.1 | 1.0.2 | 1.0.3 | 1.0.4 | 1.0.5 | 1.0.6 | trunk |

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

  • WP GPX Maps 》這個外掛的輸入是包含使用者運動軌跡的 GPX 檔案,輸出則顯示軌跡地圖和互動式高度圖表((若有))。, 完全可配置:, , 自訂顏色, 自訂圖示, 多種語言支援, ...。
  • Easy Charts 》這個外掛是一個易於使用、功能強大的方式,可用於生成圖表並在您的網站頁面和文章中展示。使用此外掛創建的圖表易於創建,易於管理。, 使用SVG和CSS3轉換創建...。
  • WP Charts and Graphs – WordPress Chart Plugin 》WordPress調查外掛, WP Charts and Graphs外掛在WordPress管理員中提供強大的圖表產生器,您也可以在發佈圖表之前即時在管理員中查看。您只需指定標題和數值...。
  • Stockdio Historical Chart 》Stockdio Historical Chart 包含插件和小工具,可提供顯示股票、指數、貨幣或商品的盤中和歷史價格和資訊的功能。支援超過65個不同的股票交易所以及大量市場...。
  • TP PieBuilder 》這個外掛為您提供優雅的長條圖和多種設計和色彩的圓餅圖,例如:預設圓餅圖、環狀圓餅圖和極座標圓餅圖。, 自定義和靈活性, TP PieBuilder 允許您通過短代碼...。
  • WordPress Graphs & Charts – Easy Interactive HTML5 Charts Plugin 》使用「Graphs & Charts」創建美麗且互動的 HTML5 圖表。, 這是一個非常友善且易於使用的 WordPress 外掛,可創建美麗且互動的圖表和曲線圖。它具有互動式...。
  • wp Hosting Performance Check 》這個外掛將會記錄您的 wp 主機公司的效能表現。, 您是否曾經注意到您的網站在您檢查時表現良好,但其他人卻說它很慢,就像小鬼一樣在使它變慢嗎?, 要知道您...。
  • MaxiCharts Gravity Forms Source add-on 》此外掛擴充 MaxiCharts,使用一個簡單的短代碼來繪製 Gravity Forms 的數據。需要安裝和啟用免費的 MaxiCharts 外掛,當然還需要 Gravity Forms。, , >>...。
  • MaxiCharts 》使用簡單的代碼即可從 Gravity Forms 提交數據或 CSV 數據 創建美觀的 Chartsjs 圖表。, 使用您過去的所有數據,在幾個點擊中可視化高級統計數據。 您需要安...。
  • Easy Chart Builder for WordPress 》這個外掛讓您輕鬆地透過短碼在您的網誌中插入圖表。雖然是多功能性的,這個圖表系統是為了輕鬆發布某些評論測量的詳細資料而設計,例如熱門民意調查、影片卡...。
  • Plotly 》這個外掛是為了方便在你的 WordPress 網誌中快速嵌入交互式的 Plotly 圖形而設計的。, 它的使用方式與 YouTube 嵌入的方式相同,你只需要將你的 Plotly 圖形...。
  • RJ Quickcharts 》在短短幾分鐘內建立複雜而強大的 HTML5 圖表。, RJ Quick Charts 是唯一一個可供使用者輕鬆輸入資料並立即建立圖表的 WordPress 外掛。Quick Charts 使用所有...。
  • graphical statistics report 》這個外掛可以讓管理員查看有關文章數量、使用者註冊和評論發布活動的圖形報告。, 請參閱官方網站以獲得實時演示:http://www.gopiplus.com/work/2010/07/18/g...。
  • Charts Ninja: Create Beautiful Graphs & Charts and Easily Add Them to Your Website 》Charts Ninja 是一個可以讓您在網站上創建並添加美麗圖表和圖形的圖表製作工具。Charts Ninja 的圖表是響應式的,也就是說,它們可以在所有設備上正常顯示,...。
  • Stock Tools 》Stock Tools 是一個簡單的外掛,提供顯示股票資訊的功能。, [stock-tools exchange="NASDAQ" symbol="GOOG" image_height="180" image_width="300"], , , exc...。

{{{data.formatted.post_title}}}
By {{data.post_author}} 0 ) { #>
{{{data.formatted.post_content}}}
文章
Filter
Apply Filters
Mastodon