Class BarChartOptions
java.lang.Object
org.apache.syncope.client.console.chartjs.ChartOptions
org.apache.syncope.client.console.chartjs.BarChartOptions
- All Implemented Interfaces:
Serializable
Provides options, that are available for
Bar.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.syncope.client.console.chartjs.ChartOptions
ChartOptions.Axis, ChartOptions.Scales -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the bar dataset spacing.Gets the bar show stroke.Gets the bar stroke width.Gets the bar value spacing.voidsetBarDatasetSpacing(Integer barDatasetSpacing) Sets the bar dataset spacing.voidsetBarShowStroke(Boolean barShowStroke) Sets the bar show stroke.voidsetBarStrokeWidth(Integer barStrokeWidth) Sets the bar stroke width.voidsetBarValueSpacing(Integer barValueSpacing) Sets the bar value spacing.voidsetLegendTemplate(String legendTemplate) voidsetScaleShowHorizontalLines(Boolean scaleShowHorizontalLines) voidsetScaleShowVerticalLines(Boolean scaleShowVerticalLines) 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
-
BarChartOptions
public BarChartOptions()
-
-
Method Details
-
getScaleShowHorizontalLines
-
setScaleShowHorizontalLines
-
getScaleShowVerticalLines
-
setScaleShowVerticalLines
-
getLegendTemplate
-
setLegendTemplate
-
getBarShowStroke
Gets the bar show stroke.- Returns:
- the bar show stroke
-
setBarShowStroke
Sets the bar show stroke.- Parameters:
barShowStroke- the new bar show stroke (default is true).
-
getBarStrokeWidth
Gets the bar stroke width.- Returns:
- the bar stroke width
-
setBarStrokeWidth
Sets the bar stroke width.- Parameters:
barStrokeWidth- the new bar stroke width (default is 2).
-
getBarValueSpacing
Gets the bar value spacing.- Returns:
- the bar value spacing
-
setBarValueSpacing
Sets the bar value spacing.- Parameters:
barValueSpacing- the spacing between each of the X value sets (default is 5)
-
getBarDatasetSpacing
Gets the bar dataset spacing.- Returns:
- the bar dataset spacing
-
setBarDatasetSpacing
Sets the bar dataset spacing.- Parameters:
barDatasetSpacing- the spacing between data sets within X values (default is 1).
-