This method is ideal where the chart data is fairly
static over time.
This method is only relevant for the Applet form of
the graph.
Step
1 - Add the applet html code to your web page
In your web page place the following code, where
you wish the pie chart to appear,
<applet
code="PiechartApplet.class" archive="Piechart.jar"
width="500" height="420">
</applet>
Adjusting
the "width" and "height" element
of this applet tag to specify the size (in pixels)
of the desired graph display.
^^
back to top
Step
2 - Set up the Configuration data.
Using this option the applet will read all the
configuration information from the standard applet
<PARAM> tags. Simply add the <PARAM>
tags, contained in the paramtags.txt file (click
here), to your html between the <APPLET>
and </APPLET> tag, adjusting the values to
specify the characteristics of the pie chart.
For
a full description of each property please see the
following section in the Documentation,
"Configuration
Options and Parameters".
^^
back to top
Step
3 - Set up the Pie Chart data
Using this option the applet will read all the
graph data from the standard applet <PARAM>
tags. Simply add the <PARAM> tags, contained
in the dataparamtags.txt file (click
here), to your html between the <APPLET>
and </APPLET> tag, adjusting the values to
specify the data for the pie graph.
^^
back to top
Step
4 - Upload the jar file to your web server.
The final step is to simply to place the Piechart.jar
file in the same directory as your web page. At
only 14kb this jar file contains all the applet
code for producing the graph in your page and as
such is very fast to load and run.
^^ back to top
If
you experience any difficulties implementing then
please do not hesitate to contact us at,
support@jpowered.com