Class PieChartOptions

java.lang.Object
org.apache.syncope.client.console.chartjs.ChartOptions
org.apache.syncope.client.console.chartjs.PieChartOptions
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
DoughnutChartOptions

public class PieChartOptions extends ChartOptions
Provides options, that are available for Pie.
See Also:
  • Constructor Details

    • PieChartOptions

      public PieChartOptions()
  • Method Details

    • getLegendTemplate

      public String getLegendTemplate()
    • setLegendTemplate

      public void setLegendTemplate(String legendTemplate)
    • getSegmentShowStroke

      public Boolean getSegmentShowStroke()
      Gets the segment show stroke.
      Returns:
      the segment show stroke
    • setSegmentShowStroke

      public void setSegmentShowStroke(Boolean segmentShowStroke)
      Sets the segment show stroke.
      Parameters:
      segmentShowStroke - decides whether we should show a stroke on each segment (default is true)
    • getSegmentStrokeColor

      public String getSegmentStrokeColor()
      Gets the segment stroke color.
      Returns:
      the segment stroke color
    • setSegmentStrokeColor

      public void setSegmentStrokeColor(String segmentStrokeColor)
      Sets the segment stroke color.
      Parameters:
      segmentStrokeColor - the new segment stroke color (default is "#fff").
    • getSegmentStrokeWidth

      public Integer getSegmentStrokeWidth()
      Gets the segment stroke width.
      Returns:
      the segment stroke width
    • setSegmentStrokeWidth

      public void setSegmentStrokeWidth(Integer segmentStrokeWidth)
      Sets the segment stroke width.
      Parameters:
      segmentStrokeWidth - the new segment stroke width (default is 2).
    • getAnimateRotate

      public Boolean getAnimateRotate()
      Gets the animate rotate.
      Returns:
      the animate rotate
    • setAnimateRotate

      public void setAnimateRotate(Boolean animateRotate)
      Sets the animate rotate.
      Parameters:
      animateRotate - decides whether we animate the rotation of the pie (default is true).
    • getAnimateScale

      public Boolean getAnimateScale()
      Gets the animate scale.
      Returns:
      the animate scale
    • setAnimateScale

      public void setAnimateScale(Boolean animateScale)
      Sets the animate scale.
      Parameters:
      animateScale - decides whether we animate scaling the Pie from the center (default is false).