Simple Graph

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
Download & install the zip archive
The plugin package installer can be downloaded from the WP2E project tab called “code”.
1 – Select the version to download if this option is available otherwise the “latest” version of the main plugin will be used.
2 – After downloading the zip archive install the plugin package installer in you local environment and activate the script from the plugin list.
3 – Under the section “Plugins” of the admin dashboard you should see a new “Dependencies & Licenses” link. Follow the instructions from this panel to finalize the installation of the missing dependencies.
- Give a name to your project
- Download the Installer Package
- Install & activate the plugin locally
- Install the suggested dependencies
Tips: Use the WP2E panel to add/suggest new dependencies to the local installation. Press F5 in the list of dependencies if the changes are not displayed right away.



