Loading...
 

PluginGauge

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:

colorbar color
bgcolorbackground color
maxmaximum possible value (default=100). if value exceeds max then color changes and '*******' appear)
valuecurrent value (REQUIRED)
sizeBar size
labellabel leftside of bar
labelsizelabelsize
percIf true then a percentage is displayed
heightBar height


Examples:
{GAUGE(perc=>true,label=>happy users,labelsize=>90,value=>35,bgcolor=>#EEEEEE)}{GAUGE}
{GAUGE(perc=>true,label=>more happy,labelsize=>90,value=>50,bgcolor=>#EEEEEE)}{GAUGE}
{GAUGE(perc=>true,label=>most happy,labelsize=>90,value=>100,bgcolor=>#EEEEEE)}{GAUGE}
{GAUGE(perc=>true,label=>value exceeds max,labelsize=>90,value=>190,bgcolor=>#EEEEEE)}{GAUGE}

Produces:

happy users 
  
 35.00% 
more happy 
  
 50.00% 
most happy 
 
 100.00% 
value exceeds max 
 
******* 

Page last modified on Tuesday 26 October 2004 11:15:42 GMT-0000