This form demonstrates the features of the chart. Type in a value in the fields and click the parameter name to update the chart. The applet code that generates the chart is shown in the text box to the right of the chart.

complex chart
simple chart
Values
seriesCount
Sets the number of data series in the chart. The default seriesCount is 1. To read more than 1 series use the sampleValues_N parameter. You can have as many data series as you wish.
 
sampleCount
Sets the number of samples in the the chart.
 
sampleValues_0
Sets the sample values for the first data series. If the sampleCount is not specified the number of samples in the chart will equal the number of values given with this parameter.
 
sampleValues_1
 
sampleValues_2


Labels
chartTitle
Sets the title of the chart. Use \n for line breaks.
 
titleFont
Sets the font used for the title.
 
seriesLabels
Sets the labels for each series. These labels are displayed in the legend if it's turned on. Use \n for line breaks.
 
sampleLabels
Sets the labels for each sample. These labels are displayed below each sample if the sampleLabelsOn is turned on. Use \n for line breaks.
 
seriesLabelsOn
Turns on the inside/floating series labels.
 
seriesLabelStyle
The series labels can be displayed floating over the pie slices or statically inside the slices (floating or inside).
 
sampleLabelsOn
Turns on the inside/floating sample labels.
 
sampleLabelStyle
The sample labels can be displayed floating over the pie slices or statically inside the slices (floating or inside).
 
valueLabelsOn
Turns on the inside/floating value labels.
 
valueLabelStyle
The value labels can be displayed floating over the pie slices or statically inside the slices (floating or inside).
 
sampleDecimalCount
Sets the number of decimals used for the value labels.
 
valueLabelPrefix
valueLabelPostfix
Adds a prefix and postfix label to the value labels.
 
percentLabelsOn
Turns on the inside/floating percent labels.
 
percentLabelStyle
The percent labels can be displayed floating over the pie slices or statically inside the slices (floating or inside).
 
percentDecimalCount
Sets the number of decimals used for the percent labels.
 
legendOn
Turns on the legend. The legend displays the series labels in charts with multiple data series, or the sample labels in charts with one data series.
 
legendPosition
Sets the position of the legend (right, left, top, bottom).
 
legendLabels
Overrides the default legend labels. Use a comma seperated list of labels.
 
legendFont
Sets the font used for the legend labels.
 
legendColors
Overrides the default legend box colors.
 
pieLabelsOn
Displays the sample label below each pie.
 
pieLabelFont
Sets the font used for the pie labels.
 
floatingLabelFont
Sets the font used for the floating labels.
 
insideLabelFont
Sets the font used for the labels inside the pie slices.


Style
3DModeOn
Turns on 3D display mode.
 
angle
Sets the angle of the 3D pie (10-90).
 
depth
Sets the depth of the 3D pie. Possible values are 0.0-1.0. The default value is 0.4.
 
selectionStyle
Sets the effect painted when the user selects a pie slice or a label in the legend (circle, triangle, detached).
 
detachedDistance
Controls the distance the slices are detached from the pie. The value is a factor of the pie radius, so if the parameter value is set to 0.5, the slice is detached halfway out of the pie.
 
sliceSeperatorOn
Turns on lines between the slices in a pie.
 
sliceSeperatorColor
Controls the slice seperator color. If this is not set, the color used is the same as the slice color, only a little darker.


Colors
sampleColors
Sets the colors used for the pie slices and legend boxes.
 
background
The applet background color. Use color name or html hex codes (#c0c0c0).
 
foreground
The applet foreground color. Use color name or html hex codes (#c0c0c0).