DocuWiki Plugin : AV Bar Chart

Generate Simple Bar Charts.

Chart Example
I created a simple bar charting plugin for the great wiki software: DocuWiki.
The plugin details and code can be found at:
http://wiki.splitbrain.org/plugin:avbarchart.

Download/Install: plugin-avbarchart.zip

Comments


Gregor Anželj
Different colors for different bars

You can add the support for this by changing two lines (97 and 102) in your php code. If the color for individual bar is not given, the basic barColor is used instead. Example of usage:

100|A:55:#FFCCCC,B:5,C:23,D:38

line 97:
=====
list($label, $amount, $color) = split(":", $col);

line 102:
======
$chart .= "".$amount."".$label."";
2009-09-04 3:46 am

Leave A Comment
 
Your Name: *
Email (Not Shown):
What is 1 plus 7 ? * (anti-spam test)
Comment: *