org.pentaho.chart.model
Class PiePlot
java.lang.Object
org.pentaho.chart.model.Plot
org.pentaho.chart.model.PiePlot
- All Implemented Interfaces:
- Serializable
public class PiePlot
- extends Plot
- implements Serializable
- See Also:
- Serialized Form
Methods inherited from class org.pentaho.chart.model.Plot |
getBackground, getOrientation, getPalette, getStyle, setBackground, setBackground, setBackground, setBackground, setOpacity, setOrientation, setPalette |
PiePlot
public PiePlot()
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()