bar graph

3D Pie Chart - Tutorials

[ Pie Chart Home ] [ Getting Started ] [ Documentation ] [ Examples & Demo's ] [ Solutions ]

Quick Start Tutorials - Supplying Data via HTML Param Tags

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,

  1. Add the applet html code to your web page
  2. Set up the Configuration data
  3. Set up the Pie Chart data
  4. Upload the jar file to your web server

 

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

 

Note: If you are using the evaluation version then in the applet a pop-up window will appear upon the startup and an evaluation message will be incorporated by the servlet. Both these features have been removed from the licensed version. Licensing information can be found at http://www.jpowered.com/pie_chart/index.htm

<< back to Tutorial Index

<< back to Getting Started

[ Pie Chart Home ] [ Getting Started ] [ Documentation ] [ Examples & Demo's ] [ Solutions ]

 

Getting Started

Tutorials

Documentation

Examples

Common Problems

Purchase

Pie Chart Home