Pie series

A pie chart displays information using sectors of a circle or ellipse to represent parts of the whole that is being displayed. The basic attributes of a pie slice are the color and value. A slice angle is directly proportional to the value it is associated with.
If any slice is clicked and dragged, two different actions may take place:

  1. If a slice is dragged, the pie chart is rotated.
  2. If a slice is dragged while the 'shift' key is held down, the slice is exploded.

To work with pie charts, PieApplet.class must be used in conjunction with PieChart.jar, as explained here.

A pie series is automatically created, there is no need to specify a 'seriex' parameter.

The list of pie chart parameters is extensive, and each parameter is described here.



<applet code="PieApplet.class" codebase="../../demo/applets/classes" archive="PieChart.jar" width=350 height=250>

<param name="slicecolors" value="ff0000,00ff00,0000ff,ffff00,00ffff">
<param name="3d" value="yes">
<param name="labels" value="slice1,slice2,slice3,slice4,slice5">
<param name="values" value="200,100,50,180,330">
</applet>