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.
Method Outline
This method involves incorporating the graphing applet
into your web page and supplying the data with hard
coded values in the PARAM tags of the HTML code.
Every visitor will see an identical graph whenever
they visit the page.
Implementation
This method involves the following 4 steps,
- Add
the applet html code to your web page
-
Set up the Configuration data
-
Set up the Pie Chart data
-
Upload the jar file to your web server
Step 1 - Add the
applet html code to your web page
Copy & Past the following HTML into your Web Page,
Adjust the "width" and "height" element of
the applet tag to specify the size (in pixels) of the desired graph display.
|
Step 2 - Set up
the Configuration data.
Simply add the <PARAM> tags, contained in the paramtags.txt file
(click here), to your html between the <APPLET> and </APPLET>
tag.
Adjust the values of these tags to create the pie chart style
you require.
For a full description of each property please see the following
section in the Documentation,
"Configuration Options and Parameters".
|
Step 3 - Set up
the Pie Chart data
Simply add the <PARAM> tags, contained in the dataparamtags.txt file
(click here), to your html between the <APPLET> and </APPLET>
tag.
Adjust the values to specify the data for the pie chart.
|
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. A copy of the Piechart.jar file may be found in the ./Examples/
directory of this package.
|
|
|