Fullscreen
[Show/Hide Left Column]
[Show/Hide Right Column]

Displays a horizontal bar gauge
3d browser Print

Tags: plugin

Plugin Gauge

This Wiki Plugin displays a horizontal bar gauge of a value compared to a maximum.

Table of contents



Usage and Parameters

To use this plugin in a wiki page, use the syntax:

Syntax for the GAUGE plugin
{GAUGE(value=> , max=> , label=>, labelsize=> , perc=>true|false , showvalue=>true|false , color=> , bgcolor=> , size=> , height=> )}description{GAUGE}


Parameter Accepted values Default Effect Required? Since
value positive decimal number to two decimal places none The value the gauge will reflect in comparison to the maximum y
max positive decimal number to two decimal places 100 The maximum possible value reflected in the gauge n
label formatted text none Label shown on the left side of the gauge n
labelsize positive integers 50 Sets the width in pixels of the label n
perc true or false false Shows the percent resulting from dividing the value by the maximum onthe right side of the gauge n
showvalue true or false true Shows the value instead of the percentage on the right side of the gauge n
color HTML color name or code #FF0000 Sets the color of the part of the bar gauge represented by the value n
bgcolor HTML color name or code #0000FF The color of the part of the graph representing the difference between the value and the maximum n
size positive integers 150 Sets the horizontal length of the bar gauge in pixels n
height positive integers 14 Sets the vertical width of the bar gauge in pixels n
body (part between the GAUGE tags) text string none Description that appears beneath the gauge n



Example

This code,

Plugin GAUGE example
{GAUGE(value=>15000, max=>16443, label=>''Satisfied users'', perc=>true, labelsize=>250, height=>20, color=>green, bgcolor=>#EEEEEE)}__User satisfaction survey results__{GAUGE}


Would produce:


 
  
 15,000.00 
User satisfaction survey results








Contributors to this page: lindon1701 points  and SEWilco674 points  .
Page last modified on Saturday 06 June, 2009 23:50:53 UTC by lindon1701 points .

To register

To have an account at this site, please register at Tikiwiki.org (external link), and then use that user name and password to log in here.

Find by Page Name

Exact match

Keywords

The following is a list of keywords that should serve as hubs for navigation within the Tiki documentation and should correspond to development keywords (bug reports and feature requests):

Accessibility (WAI – 508)
Action log 2.x
Alert 3.x
Articles & Submissions
Backlinks
Banners
Blog
Bookmark
Browser Compatibility
Cache
Calendar
Category
Chat
Clean URLs
Comments
Communication Center
Compression (gzip)
Contacts Address book
Contact us
Content template
Contribution 2.x
Cookie
Copyright
Custom Home (and Groups Home Page)
Date and Time
Debugger Console
Directory (of hyperlinks)
Documentation link from Tiki to doc.tikiwiki.org (Help System)
DogFood
Dynamic Content
Dynamic Variable
External Authentication
FAQ
Featured links
File Gallery
Forum
Friendship Network (Community)
Gmap Google maps
Groups
Hotword
HTML Page
i18n (Multilingual, l10n, Babelfish)
Image Gallery
Import-Export
Install
Integrator
Interaction
Inter-User Messages
InterTiki
Karma
Live Support
Login
Look and Feel
Lost edit protection
Mail-in
Map with Mapserver
Menu
Meta Tags
Mobile Tiki and Voice Tiki
Mods
Module
MultiTiki
MyTiki
Newsletter
Notepad
Payment
Performance Speed / Load
Permissions
Platform independence (Linux-Apache, Windows/IIS, Mac, BSD)
Polls
Profile Manager
Quicktags
Quiz
Rating
Feeds
Score
Search engine optimization
Search
Security
Semantic links 3.x
Shadowbox
Shoutbox
Slideshow
Smarty Template
Smiley
Spam protection (Anti-bot CATPCHA)
Spellcheck
Spreadsheet
Stats
Surveys
System log
Tags 2.x
Task
Tell a Friend + Social Bookmarking 2.x
TikiTests 2.x
Theme
Trackers
TRIM
User Administration including registration and banning
User Files
User Menu
Watch
WebHelp
Webmail
Webservices
Wiki 3D
Wiki History, page rename, etc
Wiki Page Staging and Approval 2.x
Wiki Plugins extends basic syntax
Wiki Syntax
Wiki structure (book and table of content)
WYSIWYCA
WYSIWYG 2.x
XMLRPC