Welcome to Mike95.com
Home
WELCOME
ABOUT MIKE95.COM
CONTACT ME


Features
FUNNY JOKES
HUMAN FACTOR


C++
Library Source Code:
CGIPARSE
JSTRING
JVECTOR
JSTACK
JHASHTABLE


COM / ASP
MIKE95 COM SVR
- ASP STACK
- ASP QUEUE
- ASP VECTOR


Tutorials:
TEMPLATES
ALGORITHMS
DESIGN PATTERNS


Sample Work
Internet Based
TASK/BUG TRACKER


Visual C++ / MFC
FLIGHT PATH (C++)
MP3 PLAY LIST


Java
JAVA TALK
BAR GRAPH
WEB CAM


Personal
CONTACT ME
RESUME
PICTURES
TRIPS
Bar Graph
Client Installation:
The client installation consists of the following class file:
  • bargraph.class (the applet the client loads with his/her browser)

To set up the web page for the client, simply insert the following HTML code on the webpage in which you would like the applet to appear. You may also adjust the width and height of the applet to suit your needs.
Note #1: The wider, the more columns you will be able to fit)

Parameters:
author
Required parameter for author credits.
title
The title that appears centered at the top of the graph.
data
The numeric data values for each column separated by commas.
columnNames
The names of the respective columns separated by commas.
columnColors
The color of the columns separated by comma, if the color of a bar is not provided (i.e. a space between columns), blue is used.

Sample Code:

 1:<applet code="bargraph.class" width="470" height="300">
 2:<param name="author" value="http://www.mike95.com">
 3:<param name="title" value="Browser Statistics">
 4:<param name="barValues" value="4,8,41,8,32,50,42">
 5:<param name="barLabels" value="AOL,IE3,IE4,NS3,NS4,All IE,ALL NS">
 6:<param name="barColors" value="*,*,*,*,*,FF0000,FF0000">
 7:</applet>
Note: If you choose to put the class file on another directory on your web server, you must use the codebase attribute of the applet tag or specify the relative location on the code attribute.

(c)2024 Mike95.com / Site Disclaimer
Site Meter