ObjectPlanet's LineChartApplet
This java based line chart applet enables you to add flexible and great looking line and plotter charts to your web applications with just a few lines of html code.

The line chart applet is compatible with all major browsers, including older ones such as Netscape 3 and Internet Explorer 3. No extra plugins are required and the footprint is only 18K, making the applets load in less than 3 seconds with a standard modem.


Files
readme.html
license_agreement.txt
com.objectplanet.gui.LineChartApplet.jar
com/objectplanet/gui/LineChartApplet.class
Designer.html
api/
examples/
LineChartApplet.java
- this file
- the license agreement
- precompiled class file
- precompiled class file (for older browsers)
- line chart designer
- reference documentation
- some chart applet examples
- source file if purchased


Installation
To install the package, unzip the distribution file to your disk and it will create a directory named LineChartApplet\. Start the chart designer by double clicking the Designer.html file.


Deployment

  1. Place the com.objectplanet.gui.LineChartApplet.jar file in the directory where the html page containing the applet is.
  2. Create a directory called com/objectplanet/gui/ where your applet file is, and copy the LineChartApplet.class file found in the same directory in the distribution.


LineChartApplet and JavaScript
You can controll an applet in an HTML page in real time using JavaScript. Each applet has a public setParameter("name", "value") method where "name" is the name of the parameter to set, and value is the parameter value to set.

<SCRIPT>
function repaint() {
   document.LineChart.setParameter("rangeAdjusterOn", document.input.rangeAdjusterOn.checked + "");
}
</SCRIPT>

<applet code="com.objectplanet.gui.LineChartApplet"
width=350 height=250 archive=com.objectplanet.gui.LineChartApplet.jar name="LineChart">
<param name="sampleValues" value="100, 200, 300, 400, 500">
</applet>

<form name="input">
rangeAdjusterOn:
<input name="rangeAdjusterOn" type=checkbox onClick=repaint()>
</form>

Note the name="LineChart" tag in the applet tag, and the <form name="input"> tags around the input fields.


Contact
If you have any questions, comments, bug reports, or feature enhancement requests send an email to mail@objectplanet.com or call (+47) 2255 3437.



Copyright (C) 1998-2000
ObjectPlanet, Inc.
(+47) 2255 3437
mail@objectplanet.com