BoltWire

Bars

Docs > Extensions > Plugins > Bars

Want to put some kind of progress indicator on you site? Use the bars plugin. Just enable it sidewide or on specific pages as desired by adding this line to your site.config file:

enableBars

To use it, put a function like this on your page:

[(bars 25 100)]

Here's what it will generate:



Obviously you could use variables to populate the numbers used to generate the bar graph using any method you desire to make it dynamic.

Other parameters include color= (to change it from blue), color2= (to change the white portion), vertical=true (to change the bar orientation). Here's an example using some of those optional parameters:

[(bars 20 30 size=50x300 color=black color2=gray vertical=true)]