Title: Easy Graphs
Author: Aaron Brazell
Published: <strong>2012 年 6 月 21 日</strong>
Last modified: 2012 年 6 月 22 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/easy-graphs.svg)

# Easy Graphs

 作者：[Aaron Brazell](https://profiles.wordpress.org/technosailor/)

[下载](https://downloads.wordpress.org/plugin/easy-graphs.zip)

 * [详情](https://cn.wordpress.org/plugins/easy-graphs/#description)
 * [评价](https://cn.wordpress.org/plugins/easy-graphs/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/easy-graphs/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/easy-graphs/#developers)

 [支持](https://wordpress.org/support/plugin/easy-graphs/)

## 描述

Everyone likes data visualizations so I wrote a plugin that will make the quick 
and secure creation of Pie Charts, Bar Charts and Line Charts easy. The answer is:
Easy Graphs.

Easy graphs is very simple to use. It’s a shortcode – [easy_graphs]

Not just like that. The shortcode also requires one parameter “data”. This parameter
is a comma separated list of number values “1,2,3,4,5,6,7”.

You can also add a “type” parameter. The “type” can be “line”, “bar” or “pie”. “
bar” is the default.

For a Bar graph, you can optionally pass additional parameters: width, height, and
color.

Example: [easy_graphs height=”200″ type=”bar” data=”30,70,65″]

By default, width and height are populated from your media embed sizes that are 
set in your Settings > Media menu inside WordPress. Color should be a hex color 
code.

For a line graph, the options are similar: color1, color2, height and width.

If you will: [easy_graphs height=”200″ type=”line” data=”200,150,175,260″]

In this case, color1 is the “fill” color and color2 is the line color. Both should
be hex.

For Pie charts, there are some additional limitations but fewer parameters: color1,
color2 and diameter.

Try this: [easy_graphs diameter=”150″ data=”40,60″ type=”pie”]

Diameter should be an integer represented in pixels. Color1 and color2 are the fill
colors of the pie slices. The limitation is the pie chart, at this time, can only
take 2 values. I’ll work on that.

On the roadmap are other things. Make the pie chart take more values than just 2.
Maybe include other graph types. Labels so the data can be more easily understood.

What would you add to this?

## 屏幕截图

 * [[
 * Rendered charts.

## 安装

Extract the zip file and just drop the contents in the wp-content/plugins/ directory
of your WordPress installation and then activate the Plugin from Plugins page.

## 常见问题

  Q: Where can I get support?  A: Click on that support link on the right and start
a post. Please don’t email me directly and for the love of all that is good and 
holy, don’t ask me on Twitter. 🙂

## 评价

此插件暂无评价。

## 贡献者及开发者

「Easy Graphs」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Aaron Brazell ](https://profiles.wordpress.org/technosailor/)

[帮助将「Easy Graphs」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/easy-graphs)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/easy-graphs/)，查看[SVN仓库](https://plugins.svn.wordpress.org/easy-graphs/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/easy-graphs/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/easy-graphs/)。

## 额外信息

 *  版本 **1.0**
 *  最后更新：**14 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 3.3 或更高版本 **
 *  已测试的最高版本为 **3.4.2**
 *  语言
 * [English (US)](https://wordpress.org/plugins/easy-graphs/)
 * 标签
 * [charts](https://cn.wordpress.org/plugins/tags/charts/)[data visualization](https://cn.wordpress.org/plugins/tags/data-visualization/)
   [graphs](https://cn.wordpress.org/plugins/tags/graphs/)
 *  [高级视图](https://cn.wordpress.org/plugins/easy-graphs/advanced/)

## 评级

 1 星（最高 5 星）。

 *  [  0 条 5 星评价     ](https://wordpress.org/support/plugin/easy-graphs/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/easy-graphs/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/easy-graphs/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/easy-graphs/reviews/?filter=2)
 *  [  1 条 1 星评价     ](https://wordpress.org/support/plugin/easy-graphs/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/easy-graphs/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/easy-graphs/reviews/)

## 贡献者

 *   [ Aaron Brazell ](https://profiles.wordpress.org/technosailor/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/easy-graphs/)