Plugin Directory

Simple Graph

Change log

1.0.5

  • Added basic Google Chart API support for rendering the widget graph. The graph looks better, but there's a limit to amount of values shown due to URL length limitations. Currently weekly averages is forced to reduce number of values. If graph doesn't show, try disabling the trend graph, which effectively reduces the value count to half. If the graph is still empty or doesn't show up at all, disable Google Chart API support from widget control pane. It's disabled by default. Note that some widget options are not used at this time when Google Chart API is enabled. This will be fixed in the future.

1.0.4

  • Fixed version numbering. :)

1.0.3

  • Fixed widget not showing when PHP register_globals was on.

1.0.2

  • Fixed widget customization bug. (Control panel changes did not affect the widgets.)

1.0.1

  • Fixed activation bug which occurred in a rare situation.

1.0.0

  • Added multiple widgets support.
  • Added multiple user-sensitive graphs, i.e. each user may have their own graphs. Each user can also see and edit only his/her graph.
  • Added content filter which allows insertion of graphs to pages and posts.

0.9.8c

  • Fixed user roles issue, which broke the plugin in WordPress 2.2.

0.9.8b

  • Fixed broken graph image for sites that use different site and WordPress addresses.

0.9.8

  • Added configurable title and text to widget. Both can contain wildcards which are replaced by values such as highest value, lowest value, et cetera.
  • Extended widget control panel significantly.
  • Removed old plugin configuration page as it was redundant.
  • Bug fix: plugin now works even if plugin folder name is changed.

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

Download

FYI

Compatibility beta

Your Setup

Log in to vote.

The Consensus

No data

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(3 ratings)