這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

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='<a target="_blank" href="https://specify_data_source">Data source</a>'/]

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

安裝

Easy

  1. Search via plugins > add new.
  2. Find the plugin listed and click activate.
  3. Use the Shortcode

評價

2018年5月7日 1 reply
Being able to supply a live CSV URL to then be charted is something some of the more popular (as of now) chart plugins ask $149/yr for and this has it implemented with a simple add-on. As an aside, it might be nice to have the Visual editor's button for MaxiCharts offer both CSV and Gravity Forms as options rather than only offering GF currently. Not a deal breaker, but it would be a welcome addition!
閱讀全部2個評價

貢獻者及開發者

“MaxiCharts CSV Source add-on” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 MaxiCharts CSV Source add-on 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

  • 1.3.2 – bug fix related to file download and write on server

  • 1.3.1 – Bug fix on unavailable csv file

  • 1.3.0 – Be carefull, big change upgrading underlying php league csv library to 9.x. Should be seemless for existing shortcodes.

  • 1.2.4 – Notice: Constant MAXICHARTS_PATH already defined, fixed

  • 1.2.3 – bug on information source fixed

  • 1.2.2 – bug on csv delimiter if catched from URL

  • 1.2.1 – other logger categories

  • 1.2 – log fix

  • 1.1 – monolog replaced log4php

  • 1.0 – module extraction