Matts Bar Graphs
Author's Notes | Features | Examples | Get Script
Author's Notes
This script was written completely by:
Matthew Tong
phreeeky@hotmail.com
http://phreeeky.dk3.com

Written on:
31st July, 2002

TOP

Features
  • As many catagories as you like.
  • Changable title and catagory names.
  • Can display the percentage and/or the total for each catagory.

  • Colors:
    • All colors are easily changable.
    • Each catagory can have a color set for it or it can be random.
      (Take a look at the examples: bars 2 & 5 have set colours - Try refreshing each.)
    • Accepts plain text and hex color codes.

  • Sizes:
    • Adjustable width and height of entire graph.
    • Label and title widths and heights may be altered.
    • All bar sizes automatically calculated.
    • There may be an adjustable gap between bars.

  • Alignment:
    • Bars can easily be made vertical or horizontal by placing a "v" or an "h".
    • Graph can be placed anywhere including within <center> tags or table cells.

TOP

Examples

These examples use the same data and colours as each
other but are simply different bar alignments:

Horizontal Example | Vertical Example

TOP

Get Script


Download All Files Needed

TOP

© Matthew Tong 2002