[WordPress] 外掛分享: MaxiCharts CSV Source add-on

首頁外掛目錄 › MaxiCharts CSV Source add-on
WordPress 外掛 MaxiCharts CSV Source add-on 的封面圖片
30+
安裝啟用
★★★★
4.5/5 分(2 則評價)
1641 天前
最後更新
問題解決
WordPress 4.0+ v1.3.2 上架:2017-06-21

內容簡介

透過簡單的 shortcode,從 CSV 檔案資料創建美麗的 HTML5 圖表。需要免費的MaxiCharts外掛程式。

用法

使用 shortcode csv2chartjs

[csv2chartjs url="https://maxicharts.com/wp-content/uploads/2017/04/mysuperfilewithdata.csv" type="bar" width="100%" delimiter=";" rows="2-13" columns="0-5" xaxislabel="%" information_source='<a target="_blank" href="https://specify_data_source">Data source</a>'/]

其中參數為:

url:必填,必須是檔案在你的伺服器上的 URL 或絕對路徑
delimiter:你的 CSV 檔案中使用的分隔符號,預設為,
columns:要繪製的欄位,只能為一個,或者為範圍0-5或2,4-7或其他範圍
rows:要繪製的列(第一行被認為是標題)
information_source:指定資料來源的任何字串(良好的實踐!)

>> 示範網站 <<
>> 更多示範 <<

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.3.2) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「MaxiCharts CSV Source add-on」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Create beautiful HTML5 charts from CSV files datas with a simple shortcode. Requires free MaxiCharts plugin.
Usage
Use shortcode csv2chartjs
[csv2chartjs url="https://maxicharts.com/wp-content/uploads/2017/04/mysuperfilewithdata.csv" type="bar" width="100%" delimiter=";" rows="2-13" columns="0-5" xaxislabel="%" information_source='Data source'/]

with parameters:

url : required, must be the URL or the absolute path to the file on your server
delimiter : delimiter used in your csv file, defaults to ,
columns : columns to graph, just one, or a range 0-5 or 2,4-7 or something else
rows : rows to graph (first is considered header)
information_source : any string specify where the data come from (good practice!)

>> Demonstration site << >> More demos <<

延伸相關外掛

文章
Filter
Apply Filters
Mastodon