1. Setting the chart title
2. Sample labels
3. Series labels
4. Static sample and series labels
5. Value labels
6. Percent labels
7. Pie labels
8. Label delimiter

1. Setting the chart title

<applet code=com.objectplanet.chart.PieChartApplet
 archive=chart.jar width=300 height=200>
<param name=sampleValues value="10,20,30,40,50">
<param name=chartTitle value="chart title">
<param name=titleFont value="Courier, bold, 20">
</applet>

<applet code=com.objectplanet.chart.PieChartApplet
 archive=chart.jar width=300 height=200>
<param name=sampleValues value="10,20,30,40,50">
<param name=chartTitle value="chart\ntitle">
<param name=titleFont value="Courier, bold, 20">
</applet>

2. Setting the sample labels

By default, the sample labels are displayed when the mouse cursor hovers over the pie slices.

<applet code=com.objectplanet.chart.PieChartApplet
 archive=chart.jar width=300 height=200>
<param name=sampleValues value="10,20,30,40,50">
<param name=sampleLabels value="one,two,three,four,five">
<param name=sampleLabelsOn value=true>
</applet>

The samples are also displayed in the legend if its turned on.

<applet code=com.objectplanet.chart.PieChartApplet
 archive=chart.jar width=300 height=200>
<param name=sampleValues value="10,20,30,40,50">
<param name=sampleLabels value="one,two,three,four,five">
<param name=legendOn value=true>
</applet>

3. Setting the series labels

The series labels are displayed in the legend when multiple data series are used.

<applet code=com.objectplanet.chart.PieChartApplet
 archive=chart.jar width=300 height=200>
<param name=seriesCount value=2>
<param name=sampleValues_0 value="10,20,30,40">
<param name=sampleValues_1 value="20,30,40,50">
<param name=seriesLabels value="Data A\n,Data B\n">
<param name=sampleLabels value="one,two,three,four">
<param name=legendOn value=true>
<param name=sampleLabelsOn value=true>
<param name=seriesLabelsOn value=true>
<param name=floatingLabelFont value="Arial, bold, 20">
</applet>

4. Static sample and series labels

Display static sample and series labels.

<applet code=com.objectplanet.chart.PieChartApplet
 archive=chart.jar width=300 height=200>
<param name=seriesCount value=2>
<param name=sampleValues_0 value="10,20">
<param name=sampleValues_1 value="20,30">
<param name=seriesLabels value="A\n,B\n">
<param name=sampleLabels value="one,two,three,four">
<param name=sampleLabelsOn value=true>
<param name=seriesLabelsOn value=true>
<param name=sampleLabelStyle value=inside>
<param name=seriesLabelStyle value=inside>
</applet>

5. Value labels

Display floating or static value labels.

<applet code=com.objectplanet.chart.PieChartApplet
 archive=chart.jar width=300 height=200>
<param name=sampleValues value="12.3,24.5,64.3,53.4,65.3">
<param name=valueLabelsOn value="true">
<param name=sampleDecimalCount value=1>
</applet>

<applet code=com.objectplanet.chart.PieChartApplet
 archive=chart.jar width=300 height=200>
<param name=sampleValues value="12.3,24.5,64.3,53.4,65.3">
<param name=valueLabelsOn value="true">
<param name=valueLabelStyle value=inside>
<param name=sampleDecimalCount value=1>
</applet>

6. Percent labels

Display floating or static percent labels.

<applet code=com.objectplanet.chart.PieChartApplet
 archive=chart.jar width=300 height=200>
<param name=sampleValues value="10,20,30,40,50">
<param name=percentDecimalCount value=2>
<param name=percentLabelsOn value=true>
</applet>

<applet code=com.objectplanet.chart.PieChartApplet
 archive=chart.jar width=300 height=200>
<param name=sampleValues value="20,30,40,50">
<param name=percentDecimalCount value=2>
<param name=percentLabelsOn value=true>
<param name=percentLabelStyle value=inside>
</applet>

7. Pie labels

Display the sample labels under each pie.

<applet code=com.objectplanet.chart.PieChartApplet
 archive=chart.jar width=300 height=200>
<param name=seriesCount value=3>
<param name=sampleValues_0 value="10,20,30,40">
<param name=sampleValues_1 value="12,32,45,32">
<param name=sampleValues_2 value="45,62,31,32">
<param name=sampleLabels value="Pie 1,Pie 2,Pie 3,Pie 4">
<param name=pieLabelsOn value=true>
</applet>

8. Label delimiter

If you want commas (,) in your labels you need to set the label delimiter.

<applet code=com.objectplanet.chart.PiehartApplet
 archive=chart.jar width=300 height=200>
<param name=sampleValues value="10,20,30,40,50">
<param name=sampleLabels value="jan,2001:feb,2001:mar,2001:apr,2001:may,2001">
<param name=legendOn value=true>
<param name=labelDelimiter value=":">
</applet>