History: PluginGauge
Preview of version: 5
This plugin can be used to display graphical bars in a wiki page, the syntax is very flexible :
Usage:
{GAUGE(params)}description{GAUGE}
Description is optional and will be displayed below the gauge if present.
Parameters:
color | bar color |
bgcolor | background color |
max | maximum possible value (default to for percentages 100) |
value | current value (REQUIRED) |
size | Bar size |
label | label leftside of bar |
labelsize | labelsize |
perc | If true then a percentage is displayed |
height | Bar height |
{GAUGE(perc=>true,value=>35,bgcolor=>#EEEEEE,height=>20)}happy users over total{GAUGE}
Examples:
{GAUGE(perc=>true,label=>happy users,labelsize=>90,value=>35,bgcolor=>#EEEEEE)}{GAUGE}
{GAUGE(perc=>true,label=>happy users,labelsize=>90,value=>50,bgcolor=>#EEEEEE)}{GAUGE}
{GAUGE(perc=>true,label=>happy users,labelsize=>90,value=>100,bgcolor=>#EEEEEE)}{GAUGE}
Produces:
happy users | 35.00% |
more happy users | 50.00% |
most happy users | 100.00% |