graph chart

Pie Chart - Demos & Examples

[ Pie Chart Home ] [ Buy Now ] [ Download Trial ] [ Documentation ]

Printing Pie Chart Demo (servlet)


( for the interactive version click here )

Note: For the purposes of demonstration this servlet implementation assumes that the Pie Chart Servlet has been implemented on the local machine under the JSDK Servlet engine. It is vital that "ServletRunner" is in operation when this page is viewed. For further information on this please see:-

Documentation - Implementing Servlet

Method Outline
The configuration parameters and chart data are supplied via two text files (piedata.txt and pieprops.txt).

This is the servlet version of the pie chart which can be printed under any browser.
The link at the bottom of the chart directs the user to an identical page where the pie image is produced by the Pie Applet. The Applet provides the user with the interactive features.

Settings Summary

  • Data acquired from the file piedata.txt
  • Properties acquired from the file pieprops.txt
  • 3D Graphing Mode set
  • 3D angle set to 40 degrees
  • 3 Pies defined to display sales for 2 products plus a combined pie.
Next Demo >>

How the Chart was created.
The above chart was inserted into the page with the HTML Code contained in the file,
servlet-printing-pie-chart.txt (click to view).

The chart properties are read from the file,
pieprops.txt (click to view)

The chart data is read from the file,
piedata.txt (click to view)

Further Information
For a full explanation of each parameter see the
"Configuration Options" section of the Documentation.

<< back to Examples Index

<< back to Getting Started

[ Pie Chart Home ] [ Buy Now ] [ Download Trial ] [ Documentation ]

 

Try Before
You Buy

Download free trial
(click >> )

Getting Started

Documentation

Examples

Tutorials

Common Problems

Purchase

Pie Chart Home