前言介紹
- 這款 WordPress 外掛「WP Google Charts」是 2013-11-06 上架。
- 目前有 90 個安裝啟用數。
- 上一次更新是 2014-01-09,距離現在已有 4136 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 2.8 以上版本才可以安裝。
- 有 3 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
charts | Bar chart | column chart | google charts | visualisation |
內容簡介
WP Google Charts
輕鬆地將基於您的 Google Spreadsheets 的 Google 圖表、圖表和表格集成到 WordPress 網站中。使您的文章擁有生動的視覺效果!
這是一個外掛,可讓您輕鬆地將基於 Google Spreadsheets 的圖表、圖表和表格集成到您的網頁和文章中。添加圖表、圖表和表格是一種簡單靈活的方式,使複雜的數據易於訪問,並為您的文章增添趣味。
使用 WP Google Charts 您可以使用簡單的短碼設置圖表和圖表的類型和大小。它看起來很好,可免費使用並且節省了使用Google嵌入代碼的麻煩和限制。
與在 WordPress 中使用任何专有解决方案相比,使用 Google Spreadsheets 可能更好。您的數據仍然可移植,也就是說,當您移動到其他平台時(或甚至更改主題)仍可使用。 WP Google Charts 為您提供了一種簡單的方法來顯示基於您的電子表格的圖表、圖表和表格。
主要特點:
- 使用簡單的短碼從 Google 電子表格中嵌入圖表和圖表。
- 顯示複雜數據的互動性和強大的可視化。
- 具有完全控制圖表和圖表的類型和大小的能力。
- 無需進入 WordPress 文本編輯器。
何時使用 WP Google Charts:
- 經驗法則:使用統計數據的任何文章或頁面均可使用圖表、圖表和表格以提供更好的外觀和更多信息。
- 您在一個电子表格中存储有想要以易于访问且交互式方式在您的 WordPress 網站上显示的數據。
- 您想要完全控制如何顯示圖表、圖表和表格,但是花費很少的時間在設置上。
- 您想要顯示易於訪問且可以在不到兩分鍾內創建的電子表格中的表格。
- WP Google Charts 最初是開發為提供人權 NGO 簡單的工具以發布關於違規信息。如果您的工作類似,它肯定很有用。如果不是,那也可能很棒(請參閱經驗法則)。
那麼它到底是如何運作的?
您可以創建您的 Google 電子表格,將數據放入其中,然後使用簡單的短碼在您的文章和網頁中嵌入它。就是那麼簡單。
短碼聽起來很嚇人。它是如何工作的?
這很簡單。不需要咬指甲。一個短碼的行如下所示:
[agc key=”0AmPXLjY4S5drdEJBbGR4MkJQWkJLQ0NFb1JqOGVPTGc” charttype=”columnchart” ]
外掛支援其他參數:
- gid(整數,默认值為 0)
- transpose(0 或 1,默认值為 0)
- stacked(true 或 false,默认值為 false)
- width(整數,默认值為 600)
- height(整數,默认值為 400)
- charttype(“table”,“columnchart”,“areachart”,“barchart”,“linechart”,“piechart”,“steppedareachart” 默认为“columnchart”)
- columns(以0開始的列位置的逗號分隔整數)
[agc key=”0AmPXLjY4S5drdEJBbGR4MkJQWkJLQ0NFb1JqOGVPTGc” gid=”2″ transpose=”1″ stacked=”true” width=”600″ height=”400″ charttype=”columnchart” columns=”0,1,2″ ]
agc key 是您的 Google Doc 的密鑰。您可以在截圖中找到它。
gid 是您的電子表格頁面,因此如果它位於第一頁,則為“1”,如果它位於第二頁,則為“2”,以此類推。
原文外掛簡介
WP Google Charts
Easily integrate google charts, diagrams and tables based on your Google Spreadsheets. Spice up your posts with cool visualisations!
This is a plugin that lets you easily integrate charts, diagrams and tables based on Google Spreadsheets into your pages and posts. Adding charts, diagrams and tables is a simple and flexible way to make complex data accessible and spice up your posts.
What can you do with WP Google Charts
WP Google Charts lets you determine the type and size of your charts and diagrams using simple shortcode. It simply looks good, is free to use and saves you the hassle and restrictions of using Google’s embed code.
Using Google Spreadsheets may be better than using any proprietary solutions for your WordPress. Your data remains portable, that is, when you move away from WordPress (or even change your theme) you can still use it. WP Google Charts provides you with an easy way of displaying charts, diagrams and tables based on your spreadsheets.
The key features are:
– Embed charts and diagrams from a Google spreadsheet using simple short code.
– Display interactive and powerful visualisations of complex data.
– Have full control over type and size of the charts and diagrams.
– No need to go into the text editor in WordPress.
When to use WP Google Charts
– Rule of thumb: Any post or page for which you use statistics could look better and provide more information using charts, diagrams and tables.
– You have data stored in a spreadsheet that you want to display in an accessible and interactive way on your WordPress site.
– You want to have full control over how you display charts, diagrams and tables, but spend little time on fiddling around with the settings.
– You want to display tables from your spreadsheets that are easily accessible and can be created in less than two minutes.
– WP Google Charts has originally been developed to provide human rights NGOs with a simple tool to publish information about violations. If your work is similar, it will be surely useful. If not, it still might be great (see rule of thumb).
So how exactly does it work?
You create your Google Spreadsheet, put your data into it and embed it in your posts and pages using straightforward short code. It’s that simple.
Shortcode sounds scary. How does it work?
It’s simple. No need to bite your nails. A line of short code will look like this:
[agc key=”0AmPXLjY4S5drdEJBbGR4MkJQWkJLQ0NFb1JqOGVPTGc” charttype=”columnchart” ]
Plugin support additional params:
– gid (integer,default 0)
– transpose (0 or 1,default 0)
– stacked (true or false,default false)
– width (integer,default 600)
– height (integer,default 400)
– charttype (“table”, “columnchart”, “areachart”, “barchart”, “linechart”, “piechart”, “steppedareachart” default “columnchart”)
– columns (comma separated integers of column positions start by 0)
[agc key=”0AmPXLjY4S5drdEJBbGR4MkJQWkJLQ0NFb1JqOGVPTGc” gid=”2″ transpose=”1″ stacked=”true” width=”600″ height=”400″ charttype=”columnchart” columns=”0,1,2″ ]
The agc key is the key of your Google Doc. You can find it screenshots.
Gid is the page of your spreadsheet, so if it is on the first page it is “1”, if it is on the second it is “two” and so on and so forth.
Transpose is where you can determine, if you want to reverse the columns. Can be useful for some graphs or charts. Changing the number from “1” to “0” can save you a lot of time .
Stacked yes or no let’s you determine, if the data will be shown in a more fine-grained way. Say you have a bar chart, where you want to show the constituency of each bar. This is how it looks like (see screenshot). If you want or need that, choose “yes”, if not “no”.
The chart type is easy. Just pick the one that you want to have from this list:
“table”
“columnchart”
“areachart”
“barchart”
“linechart”
“piechart”
“steppedareachart”
Columns is comma separated column ids of spreadsheet,remember it start from 0,like columns=”0,2,6″.
If you have suggestions for a new add-on, feel free to let me know about it on http://www.hmayaktigranyan.com .
This plugin sponsor is http://www.huridocs.org/
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「WP Google Charts」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
UVisualize! 》為您的文章和媒體創造一個視覺化的故事!, 創建播放清單, 使用播放清單工具按您選擇的順序創建內容集合,包括音頻、視頻、圖像和文字 - 或者全部都包括!, 講...。