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
Provides options, that are available for
Pie
.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.syncope.client.console.chartjs.ChartOptions
ChartOptions.Axis, ChartOptions.Scales
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the animate rotate.Gets the animate scale.Gets the segment show stroke.Gets the segment stroke color.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
-
Constructor Details
-
PieChartOptions
public PieChartOptions()
-
-
Method Details
-
getLegendTemplate
-
setLegendTemplate
-
getSegmentShowStroke
Gets the segment show stroke.- Returns:
- the segment show stroke
-
setSegmentShowStroke
Sets the segment show stroke.- Parameters:
segmentShowStroke
- decides whether we should show a stroke on each segment (default is true)
-
getSegmentStrokeColor
Gets the segment stroke color.- Returns:
- the segment stroke color
-
setSegmentStrokeColor
Sets the segment stroke color.- Parameters:
segmentStrokeColor
- the new segment stroke color (default is "#fff").
-
getSegmentStrokeWidth
Gets the segment stroke width.- Returns:
- the segment stroke width
-
setSegmentStrokeWidth
Sets the segment stroke width.- Parameters:
segmentStrokeWidth
- the new segment stroke width (default is 2).
-
getAnimateRotate
Gets the animate rotate.- Returns:
- the animate rotate
-
setAnimateRotate
Sets the animate rotate.- Parameters:
animateRotate
- decides whether we animate the rotation of the pie (default is true).
-
getAnimateScale
Gets the animate scale.- Returns:
- the animate scale
-
setAnimateScale
Sets the animate scale.- Parameters:
animateScale
- decides whether we animate scaling the Pie from the center (default is false).
-