Class PieChartOptions

java.lang.Object
org.primefaces.model.charts.ChartOptions
org.primefaces.model.charts.pie.PieChartOptions
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
DonutChartOptions

public class PieChartOptions extends ChartOptions
Used to set options to Pie chart component.
See Also:
  • Constructor Details

    • PieChartOptions

      public PieChartOptions()
  • Method Details

    • getCutout

      public Object getCutout()
      Gets the cutout
      Returns:
      cutout accepts pixels as number and percent as string ending with %.
    • setCutout

      public void setCutout(Object cutout)
      Sets the cutout
      Parameters:
      cutout - accepts pixels as number and percent as string ending with %.
    • getRotation

      public Number getRotation()
      Gets the rotation
      Returns:
      rotation
    • setRotation

      public void setRotation(Number rotation)
      Sets the rotation
      Parameters:
      rotation - Starting angle to draw arcs from.
    • getCircumference

      public Number getCircumference()
      Gets the circumference
      Returns:
      circumference
    • setCircumference

      public void setCircumference(Number circumference)
      Sets the circumference
      Parameters:
      circumference - Sweep to allow arcs to cover
    • isAnimateRotate

      public boolean isAnimateRotate()
      Gets the animateRotate
      Returns:
      animateRotate
    • setAnimateRotate

      public void setAnimateRotate(boolean animateRotate)
      Sets the animateRotate
      Parameters:
      animateRotate - If true, the chart will animate in with a rotation animation.
    • isAnimateScale

      public boolean isAnimateScale()
      Gets the animateScale
      Returns:
      animateScale
    • setAnimateScale

      public void setAnimateScale(boolean animateScale)
      Sets the animateScale
      Parameters:
      animateScale - If true, will animate scaling the chart from the center outwards.