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 forPie
.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.syncope.client.console.chartjs.ChartOptions
ChartOptions.Axis, ChartOptions.Scales
-
-
Constructor Summary
Constructors Constructor Description PieChartOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Boolean
getAnimateRotate()
Gets the animate rotate.Boolean
getAnimateScale()
Gets the animate scale.String
getLegendTemplate()
Boolean
getSegmentShowStroke()
Gets the segment show stroke.String
getSegmentStrokeColor()
Gets the segment stroke color.Integer
getSegmentStrokeWidth()
Gets the segment stroke width.void
setAnimateRotate(Boolean animateRotate)
Sets the animate rotate.void
setAnimateScale(Boolean animateScale)
Sets the animate scale.void
setLegendTemplate(String legendTemplate)
void
setSegmentShowStroke(Boolean segmentShowStroke)
Sets the segment show stroke.void
setSegmentStrokeColor(String segmentStrokeColor)
Sets the segment stroke color.void
setSegmentStrokeWidth(Integer segmentStrokeWidth)
Sets the segment stroke width.-
Methods inherited from class org.apache.syncope.client.console.chartjs.ChartOptions
getAnimation, getAnimationEasing, getAnimationSteps, getCustomTooltips, getMaintainAspectRatio, getMultiTooltipTemplate, getOnAnimationComplete, getOnAnimationProgress, getResponsive, getScales, getShowTooltips, getTooltipCaretSize, getTooltipCornerRadius, getTooltipEvents, getTooltipFillColor, getTooltipFontColor, getTooltipFontFamily, getTooltipFontSize, getTooltipFontStyle, getTooltipTemplate, getTooltipTitleFontColor, getTooltipTitleFontFamily, getTooltipTitleFontSize, getTooltipTitleFontStyle, getTooltipXOffset, getTooltipXPadding, getTooltipYPadding, isResponsive, setAnimation, setAnimationEasing, setAnimationSteps, setCustomTooltips, setMaintainAspectRatio, setMultiTooltipTemplate, setOnAnimationComplete, setOnAnimationProgress, setResponsive, setResponsive, setScales, setShowTooltips, setTooltipCaretSize, setTooltipCornerRadius, setTooltipEvents, setTooltipFillColor, setTooltipFontColor, setTooltipFontFamily, setTooltipFontSize, setTooltipFontStyle, setTooltipTemplate, setTooltipTitleFontColor, setTooltipTitleFontFamily, setTooltipTitleFontSize, setTooltipTitleFontStyle, setTooltipXOffset, setTooltipXPadding, setTooltipYPadding
-
-
-
-
Method Detail
-
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).
-
-