graph chart

Pie Chart - Demos & Examples

[ Pie Chart Home ] [ Tutorials ] [ Documentation ] [ Getting Started ] [ Solutions ]

Single 2D Pie Chart Demo (servlet)


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 (piedataS2D.txt and piepropsS2D.txt).

 

Settings Summary

  • Data acquired from the file piedataS2D.txt
  • Properties acquired from the file piepropsS2D.txt
  • 2D Graphing Mode set
  • Pop-Up values set to display the dollar symbol plus the segment percentage
  • Single set of data to produce a single pie
  • All segments set to link to
    http://www. jpowered.com
  • Link cursor set to 'hand'.
Next Demo »

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

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

The chart data is read from the file,
piedataS2D.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 ] [ Tutorials ] [ Documentation ] [ Getting Started ] [ Solutions ]

Getting Started

Documentation

Examples

Tutorials

Common Problems
This section describes and provides solutions to common problems.