跳到内容

Simple Graph

v1.0.5

pacius · 2007年4月3日 上架

Draws a line graph of single set of date related data. Graph can be made public (i.e. sidebar widget or static page) and the data can be edited throug …

正在使用
20+
评分
暂无
累计下载
1.1 万
最近更新
2011年3月18日
需要 WordPress 2.0.1+已测试到 2.3.1

截图

Data management page
Data management page
Widget control panel
Widget control panel
Widget in action
Widget in action

Draws a graph of single set of date related data. Graph can be made public (i.e. sidebar widget or static page) and the data can be manipulated through dashboard. Many people use this plugin for weight tracking on their blogs (as do I), but it has been used for many other things as well. Only requirement – or rather a constraint – is that the horizontal axis of the graph shows dates. The vertical axis can hold any values. Each user can have their own graphs, which can be easily inserted in posts and pages.

Content filter

If you want to insert a graph in posts and/or pages, simply write a string similar to following in your post or page.

[[simple-graph n=1 x=0 y=0 trend=0 wkly=0 lm=0 ytd=0 uid=0 gid=0 ]]

Just replace the values as you wish. The ones above are default values, and if you don’t need to change the default value, you can simply omit that value from the string. I.e. [[simple-graph]] alone produces the graph with default values drawn from widget setup.

  • n is number of widget options, from where default options (such as colours) are drawn
  • x is width, any positive value is acceptable
  • y is height, any positive value is acceptable
  • trend is whether trend graph is shown, 0 = no, 1 = yes
  • wkly is whether weekly averages are shown, 0 = no, 1 = yes
  • lm is whether only values from last month are shown, 0 = no, 1 = yes
  • ytd is whether only values from last year are shown, 0 = no, 1 = yes
  • uid is user ID of the graph owner (see WordPress dashboard -> Users)
  • gid is user-specific graph number, same as in widget control panel’s graph# selection

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums