IT MANAGEMENT
CIO Update
Datamation
eSecurity Planet
ITSMWatch
Intranet Journal
IT Career Planet
Project Manager Planet
Semantic Web
NETWORKING
EnterpriseNetworkingPlanet
InstantMessagingPlanet
EnterpriseStorageForum
PracticallyNetworked
WEB DEVELOPMENT
HTML Goodies
Javascripts.com
HARDWARE & SYSTEMS
EarthWeb Hardware
SysOpt
Virtual Dr.
WorkstationPlanet
SOFTWARE DEVELOPMENT
CodeGuru
Developer
jGuru.com
JARS
Gamelan
EARTHWEBNEWS.COM
Business
Developer
Ecommerce
Enterprise
Networking
Security
Special Reports
Storage
Opinion
Mobility
xSP
Stats
IT MANAGEMENT
NETWORKING
WEB DEVELOPMENT
HARDWARE & SYSTEMS
SOFTWARE DEVELOPMENT
IT NEWS
Events
Jobs
Premium Services
Media Kit
Network Map
E-mail Offers
Vendor Solutions
Webcasts
subjects:
HTML
Javascript
Add a Javascript
Background
Banners
Business
Cookies
Forms
Games
Image
Mathematics
Messages
Multimedia
Music
Navigation
Security
Sound
Statistics
Timedate
Utilities
Technology Jobs
Search EarthWeb Network
internet.commerce
Be a Commerce Partner
Web Development
:
JavaScripts
Find a Javascript
:
FREE Tech Newsletters
Instant Messaging Planet HTML
CIO Update
CodeGuru Update
Enterprise Networking Planet
Practically Networked HTML
Enterprise Storage Forum HTML
Optically Networked HTML
Intranet Journal Update
Datamation IT Management Careers
Datamation IT Management Update
Developer.com Update
Gamelan Java Update
Goodies to Go
Javascript Weekly HTML
JARS Java Update
OpenSource Update
SysOpt Tech Notes
Grid Computing Planet HTML
E-Security Planet HTML
Virtual Dr. Text
Source code for Matts Bar Graphs:
Matts Bar Graphs
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
*JavaScript is a registered trademark of Sun Microsystems, Inc.