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.ChartOptionsChartOptions.Axis, ChartOptions.Scales
 
- 
 - 
Constructor SummaryConstructors Constructor Description PieChartOptions()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleangetAnimateRotate()Gets the animate rotate.BooleangetAnimateScale()Gets the animate scale.StringgetLegendTemplate()BooleangetSegmentShowStroke()Gets the segment show stroke.StringgetSegmentStrokeColor()Gets the segment stroke color.IntegergetSegmentStrokeWidth()Gets the segment stroke width.voidsetAnimateRotate(Boolean animateRotate)Sets the animate rotate.voidsetAnimateScale(Boolean animateScale)Sets the animate scale.voidsetLegendTemplate(String legendTemplate)voidsetSegmentShowStroke(Boolean segmentShowStroke)Sets the segment show stroke.voidsetSegmentStrokeColor(String segmentStrokeColor)Sets the segment stroke color.voidsetSegmentStrokeWidth(Integer segmentStrokeWidth)Sets the segment stroke width.- 
Methods inherited from class org.apache.syncope.client.console.chartjs.ChartOptionsgetAnimation, 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- 
getLegendTemplatepublic String getLegendTemplate() 
 - 
setLegendTemplatepublic void setLegendTemplate(String legendTemplate) 
 - 
getSegmentShowStrokepublic Boolean getSegmentShowStroke() Gets the segment show stroke.- Returns:
- the segment show stroke
 
 - 
setSegmentShowStrokepublic void setSegmentShowStroke(Boolean segmentShowStroke) Sets the segment show stroke.- Parameters:
- segmentShowStroke- decides whether we should show a stroke on each segment (default is true)
 
 - 
getSegmentStrokeColorpublic String getSegmentStrokeColor() Gets the segment stroke color.- Returns:
- the segment stroke color
 
 - 
setSegmentStrokeColorpublic void setSegmentStrokeColor(String segmentStrokeColor) Sets the segment stroke color.- Parameters:
- segmentStrokeColor- the new segment stroke color (default is "#fff").
 
 - 
getSegmentStrokeWidthpublic Integer getSegmentStrokeWidth() Gets the segment stroke width.- Returns:
- the segment stroke width
 
 - 
setSegmentStrokeWidthpublic void setSegmentStrokeWidth(Integer segmentStrokeWidth) Sets the segment stroke width.- Parameters:
- segmentStrokeWidth- the new segment stroke width (default is 2).
 
 - 
getAnimateRotatepublic Boolean getAnimateRotate() Gets the animate rotate.- Returns:
- the animate rotate
 
 - 
setAnimateRotatepublic void setAnimateRotate(Boolean animateRotate) Sets the animate rotate.- Parameters:
- animateRotate- decides whether we animate the rotation of the pie (default is true).
 
 - 
getAnimateScalepublic Boolean getAnimateScale() Gets the animate scale.- Returns:
- the animate scale
 
 - 
setAnimateScalepublic void setAnimateScale(Boolean animateScale) Sets the animate scale.- Parameters:
- animateScale- decides whether we animate scaling the Pie from the center (default is false).
 
 
- 
 
-