simpleWebGraph3
This applet generates either a line graph or bar chart. The data is read
from the applet tag or from a text file. Coordinate values can be
chronological, integer or floating point numbers. The tick labels can be
date strings, integers, floating point numbers or arbitrary strings.
GO
Usage:
-
The example below illustrates plotting chronological data where the x-axis
coordinates are dates and y-axis coordinates are integers. The applet
reads data from the applet tag.
Date coordinates along the y-axis is not supported.
-
Both x-axis and y-axis data can be integers as is illustrated in
this example2.
-
The applet also enables plotting floating point data as shown in example3.
- Supply the data either in an external text file and specify
the file name in the applet param TXTFILE or enter the whole data
in the applet param SWGRAPHDATA. More info about the applet params
is available here.
- The chronological data can also be plotted on a daily basis
or on a quarterly basis. Here are some examples, example4 and
example5
- The applet can also generate bar charts as shown in example6.
- Colors for the curves can be specified through the param CURVECOLORS.
Fonts for the plot can be specified through the params FONT1 and FONT2.
GO
To handle a bug in IE3.0
To handle a bug in IE3.0
Test Drive
If you would like to test the applet locally, here is the zip file with
all the files: swgraph3_try.zip (19K).
This can display upto 3 curves, and 10 divisions along x and y axes,
and 10 data points for a given curve. The registered
version can display upto 9 curves per graph and has no limits to the
number divisions along the axes and data points for a given curve
Home
| Nalla Senthilnathan