All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.objectplanet.chart.PieChartApplet

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----java.applet.Applet
                                   |
                                   +----com.objectplanet.chart.ChartApplet
                                           |
                                           +----com.objectplanet.chart.PieChartApplet

public class PieChartApplet
extends ChartApplet
The pie chart applet enables you to plug a pie chart directly into your html page and customize it by setting parameters in the html page itself. The parameters that can be set, and example values are shown below.
param name=sampleCount value=5
param name=sampleValues value="10.1, 30.3, 50.5, 70.7, 90.9"
param name=sampleLabels value="label 1, label 2, label 3, label 4, label 5"
param name=sampleDecimalCount value=2
param name=angle value=20
param name=depth value=0.3
param name=title value="PieChartApplet"
param name=titleOn value="true"
param name=legendOn value=true
param name=legendPosition value=right
param name=sampleLabelsOn value=true
param name=valueLabelsOn value=true
param name=percentLabelsOn value=true
param name=3DModeOn value=true
param name=frameOn value=true
param name=background value="#c0b0c0"
param name=foreground value=black
param name=sampleColors value="red, green, blue, yellow, cyan"
 

Author:
Bjorn J. Kvande.

Constructor Index

 o PieChartApplet()

Method Index

 o init()
Reads the parameters from the html page, and creates the chart.

Constructors

 o PieChartApplet
 public PieChartApplet()

Methods

 o init
 public void init()
Reads the parameters from the html page, and creates the chart.

Overrides:
init in class Applet

All Packages  Class Hierarchy  This Package  Previous  Next  Index