org.pentaho.chart.model
Class PiePlot

java.lang.Object
  extended by org.pentaho.chart.model.Plot
      extended by org.pentaho.chart.model.PiePlot
All Implemented Interfaces:
Serializable

public class PiePlot
extends Plot
implements Serializable

See Also:
Serialized Form

Nested Class Summary
static class PiePlot.PieLabels
           
static class PiePlot.Slice
           
 
Nested classes/interfaces inherited from class org.pentaho.chart.model.Plot
Plot.Orientation
 
Field Summary
 
Fields inherited from class org.pentaho.chart.model.Plot
DEFAULT_PALETTE
 
Constructor Summary
PiePlot()
           
 
Method Summary
 boolean getAnimate()
           
 PiePlot.PieLabels getLabels()
           
 Float getOpacity()
           
 List<PiePlot.Slice> getSlices()
           
 Integer getStartAngle()
           
 void setAnimate(boolean animate)
          Animate the chart when it loads
 void setSlices(List<PiePlot.Slice> slices)
           
 void setStartAngle(Integer startAngle)
          The starting angle of the pie chart.
 
Methods inherited from class org.pentaho.chart.model.Plot
getBackground, getOrientation, getPalette, getStyle, setBackground, setBackground, setBackground, setBackground, setOpacity, setOrientation, setPalette
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PiePlot

public PiePlot()
Method Detail

getSlices

public List<PiePlot.Slice> getSlices()

setSlices

public void setSlices(List<PiePlot.Slice> slices)
Parameters:
slices -
See Also:
PiePlot.Slice

getAnimate

public boolean getAnimate()

setAnimate

public void setAnimate(boolean animate)
Animate the chart when it loads

Possible values
true
false

Parameters:
animate -

getStartAngle

public Integer getStartAngle()

setStartAngle

public void setStartAngle(Integer startAngle)
The starting angle of the pie chart. Valid values are 0-360.

Parameters:
startAngle -

getOpacity

public Float getOpacity()
Overrides:
getOpacity in class Plot

getLabels

public PiePlot.PieLabels getLabels()