Simple Graph

0

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 p

Version
Last updated
Active installations
WordPress Version
Tested up to
Rating
Total ratings
Tags
This plugin is outdated and might not be supported anymore.

Description

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