Class BarChartOptions
- java.lang.Object
-
- org.apache.syncope.client.console.chartjs.ChartOptions
-
- org.apache.syncope.client.console.chartjs.BarChartOptions
-
- All Implemented Interfaces:
Serializable
public class BarChartOptions extends ChartOptions
Provides options, that are available forBar
.- 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 BarChartOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
getBarDatasetSpacing()
Gets the bar dataset spacing.Boolean
getBarShowStroke()
Gets the bar show stroke.Integer
getBarStrokeWidth()
Gets the bar stroke width.Integer
getBarValueSpacing()
Gets the bar value spacing.String
getLegendTemplate()
Boolean
getScaleShowHorizontalLines()
Boolean
getScaleShowVerticalLines()
void
setBarDatasetSpacing(Integer barDatasetSpacing)
Sets the bar dataset spacing.void
setBarShowStroke(Boolean barShowStroke)
Sets the bar show stroke.void
setBarStrokeWidth(Integer barStrokeWidth)
Sets the bar stroke width.void
setBarValueSpacing(Integer barValueSpacing)
Sets the bar value spacing.void
setLegendTemplate(String legendTemplate)
void
setScaleShowHorizontalLines(Boolean scaleShowHorizontalLines)
void
setScaleShowVerticalLines(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
-
-
-
-
Method Detail
-
getScaleShowHorizontalLines
public Boolean getScaleShowHorizontalLines()
-
setScaleShowHorizontalLines
public void setScaleShowHorizontalLines(Boolean scaleShowHorizontalLines)
-
getScaleShowVerticalLines
public Boolean getScaleShowVerticalLines()
-
setScaleShowVerticalLines
public void setScaleShowVerticalLines(Boolean scaleShowVerticalLines)
-
getLegendTemplate
public String getLegendTemplate()
-
setLegendTemplate
public void setLegendTemplate(String legendTemplate)
-
getBarShowStroke
public Boolean getBarShowStroke()
Gets the bar show stroke.- Returns:
- the bar show stroke
-
setBarShowStroke
public void setBarShowStroke(Boolean barShowStroke)
Sets the bar show stroke.- Parameters:
barShowStroke
- the new bar show stroke (default is true).
-
getBarStrokeWidth
public Integer getBarStrokeWidth()
Gets the bar stroke width.- Returns:
- the bar stroke width
-
setBarStrokeWidth
public void setBarStrokeWidth(Integer barStrokeWidth)
Sets the bar stroke width.- Parameters:
barStrokeWidth
- the new bar stroke width (default is 2).
-
getBarValueSpacing
public Integer getBarValueSpacing()
Gets the bar value spacing.- Returns:
- the bar value spacing
-
setBarValueSpacing
public void setBarValueSpacing(Integer barValueSpacing)
Sets the bar value spacing.- Parameters:
barValueSpacing
- the spacing between each of the X value sets (default is 5)
-
getBarDatasetSpacing
public Integer getBarDatasetSpacing()
Gets the bar dataset spacing.- Returns:
- the bar dataset spacing
-
setBarDatasetSpacing
public void setBarDatasetSpacing(Integer barDatasetSpacing)
Sets the bar dataset spacing.- Parameters:
barDatasetSpacing
- the spacing between data sets within X values (default is 1).
-
-