1. Turn on value labels
2. Angle of value labels
3. Font used for value labels
4. Floating value labels
5. Decimal count
6. Prefix and postfix labels


1. Turn on the value labels

<applet code=com.objectplanet.chart.ChartApplet
 archive=chart.jar width=300 height=200>
<param name=chart value="line">
<param name=sampleValues value="10,20,-30,-40,50">
<param name=valueLabelsOn value="true">
</applet>


2. You can control the angle of the value labels

<applet code=com.objectplanet.chart.ChartApplet
 archive=chart.jar width=300 height=200>
<param name=chart value="line">
<param name=sampleValues value="200,100,400,300,500">
<param name=valueLabelsOn value="true">
<param name=valueLabelAngle value="270">
<param name=graphInsets value="25,-1,-1,-1">
</applet>


3. Set the font used for the value labels

<applet code=com.objectplanet.chart.ChartApplet
 archive=chart.jar width=300 height=200>
<param name=chart value="line">
<param name=sampleValues value="200,100,400,300,500">
<param name=valueLabelsOn value="true">
<param name=valueLabelFont value="Arial, bold, 16">
<param name=graphInsets value="20,-1,-1,-1">
</applet>


4. Display floating value labels

Move your mouse over the sample points on the line to display value labels.

<applet code=com.objectplanet.chart.ChartApplet
 archive=chart.jar width=300 height=200>
<param name=chart value="line">
<param name=sampleValues value="10,20,-30,-40,50">
<param name=valueLabelsOn value="true">
<param name=valueLabelStyle value=floating>
<param name=floatingLabelFont value="Arial, bold, 20">
</applet>


5. Control the number of decimals used for the value labels

<applet code=com.objectplanet.chart.ChartApplet
 archive=chart.jar width=300 height=200>
<param name=chart value="line">
<param name=sampleValues value="68.75,35.43,47.88,87.65,47.54">
<param name=valueLabelsOn value=true>
<param name=sampleDecimalCount value="2">
</applet>


6. Add a prefix or postfix label to the value labels

<applet code=com.objectplanet.chart.ChartApplet
 archive=chart.jar width=300 height=200>
<param name=chart value="line">
<param name=sampleValues value="20,10,40,30,50">
<param name=valueLabelsOn value=true>
<param name=valueLabelPrefix value="$">
<param name=valueLabelPostfix value="USD">
</applet>