Introduction

This tutorial teaches how to configure the parameters of JetChart applets, through a series of examples.

The topics outlined on the left frame cover basic functionalities of JetChart applets. Each topic description is followed by an example, presented as a real applet.

The JetChart class library is packed into three independent jar files, as explained below:

  1. GraphChart.jar - Contains the classes to be used to plot charts other than scatter charts and pie charts.
  2. ScatterChart.jar - Contains the classes to be used to plot scatter charts, as xy charts, xy line charts, xy image charts and bubble charts.
  3. PieChart.jar - Contains the classes to be used to plot pie charts.
The jar files have to be made available to browsers using the 'archive' attribute of the <applet> tag.

The applets are wrappers around JetChart api, which is accessed through parameters. The following applets are available:

  1. GraphApplet.class - To be used in conjunction with GraphChart.jar.
  2. ScatterApplet.class - To be used in conjunction with ScatterChart.jar.
  3. PieApplet.class - To be used in conjunction with PieChart.jar.
Make the applets available to browsers using the 'code' attribute of the <applet> tag.

For example, if the files above are placed at a subdirectory named 'classes', created under the html files directory, the 'applet' tag must be the following:

<applet code="GraphApplet.class" codebase="classes" archive="GraphChart.jar" width="400" height="300">
or
<applet code="ScatterApplet.class" codebase="classes" archive="ScatterChart.jar" width="400" height="300">
or
<applet code="PieApplet.class" codebase="classes" archive="PieChart.jar" width="400" height="300">

The files above described can be found at the JetChart/demo/applets/classes directory after decompression of the JetChart.zip file.

If additional support is needed, please send inquiries to our
support staff.