Graph Bars

This JSPWiki Style translates sets of values into horizontal colored bars. This feature is used to visualize the outcome of the search engine. But it is also usable inside ordinary wiki pages.

The nice thing about this implementation is that you can specify any color your like; there is no need for an external .gif.

Usage

%%graphBars
* %%gBar 20 %% apples
* %%gBar 40 %% peers
* %%gBar 60 %% bananas
%%
becomes (when available on this wiki ;-)
  • 20 apples
  • 40 peers
  • 60 bananas

Additionally, you can specify the color of the bars as well as the maximum size of the bar (expressed in number of characters, default max size is 120).

%%graphBars-#e0e0e0-60
| apples  | %%gBar 20 %% 
| peers   | %%gBar 40 %% 
| bananas | %%gBar 60 %%
%%
becomes
apples 20
peers 40
bananas 60

Back to Help

All Pages

Email

ASP

JSP

C#

Web Mail

Windows Plesk

Linux Plesk

PHP

ASP.NET

Persits ASPUpload

Wiki Help

  Page Info My Prefs Log in
This page (revision-3) last changed on 16:06 15-Nov-2006 by Administrator.
 
Page Hit Count: 42

Referring Pages:
...nobody

JSPWiki v2.4.71