Class LineChartOptions
- java.lang.Object
-
- org.apache.syncope.client.console.chartjs.ChartOptions
-
- org.apache.syncope.client.console.chartjs.LineChartOptions
-
- All Implemented Interfaces:
Serializable
public class LineChartOptions extends ChartOptions
Provides options forLine.- 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 LineChartOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleangetBezierCurve()Gets the bezier curve.BooleangetDatasetFill()Gets the dataset fill.BooleangetDatasetStroke()Gets the dataset stroke.IntegergetDatasetStrokeWidth()Gets the dataset stroke width.StringgetLegendTemplate()BooleangetPointDot()Gets the point dot.IntegergetPointDotRadius()Gets the point dot radius.IntegergetPointDotStrokeWidth()Gets the point dot stroke width.IntegergetPointHitDetectionRadius()BooleangetScaleShowHorizontalLines()BooleangetScaleShowVerticalLines()BooleangetShowLine()DoublegetTension()voidsetBezierCurve(Boolean bezierCurve)Sets the bezier curve.voidsetDatasetFill(Boolean datasetFill)Sets the dataset fill.voidsetDatasetStroke(Boolean datasetStroke)Sets the dataset stroke.voidsetDatasetStrokeWidth(Integer datasetStrokeWidth)Sets the dataset stroke width.voidsetLegendTemplate(String legendTemplate)voidsetPointDot(Boolean pointDot)Sets the point dot.voidsetPointDotRadius(Integer pointDotRadius)Sets the point dot radius.voidsetPointDotStrokeWidth(Integer pointDotStrokeWidth)Sets the point dot stroke width.voidsetPointHitDetectionRadius(Integer pointHitDetectionRadius)voidsetScaleShowHorizontalLines(Boolean scaleShowHorizontalLines)voidsetScaleShowVerticalLines(Boolean scaleShowVerticalLines)voidsetShowLine(Boolean showLine)voidsetTension(Double tension)-
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)
-
getPointHitDetectionRadius
public Integer getPointHitDetectionRadius()
-
setPointHitDetectionRadius
public void setPointHitDetectionRadius(Integer pointHitDetectionRadius)
-
getLegendTemplate
public String getLegendTemplate()
-
setLegendTemplate
public void setLegendTemplate(String legendTemplate)
-
getBezierCurve
public Boolean getBezierCurve()
Gets the bezier curve.- Returns:
- the bezier curve
-
setBezierCurve
public void setBezierCurve(Boolean bezierCurve)
Sets the bezier curve.- Parameters:
bezierCurve- decides whether the line is curved between points (default is true).
-
getPointDot
public Boolean getPointDot()
Gets the point dot.- Returns:
- the point dot
-
setPointDot
public void setPointDot(Boolean pointDot)
Sets the point dot.- Parameters:
pointDot- decides whether to show a dot for each point (default is true).
-
getPointDotRadius
public Integer getPointDotRadius()
Gets the point dot radius.- Returns:
- the point dot radius
-
setPointDotRadius
public void setPointDotRadius(Integer pointDotRadius)
Sets the point dot radius.- Parameters:
pointDotRadius- the new point dot radius (default is 3).
-
getPointDotStrokeWidth
public Integer getPointDotStrokeWidth()
Gets the point dot stroke width.- Returns:
- the point dot stroke width
-
setPointDotStrokeWidth
public void setPointDotStrokeWidth(Integer pointDotStrokeWidth)
Sets the point dot stroke width.- Parameters:
pointDotStrokeWidth- the new point dot stroke width (default is 1).
-
getDatasetStroke
public Boolean getDatasetStroke()
Gets the dataset stroke.- Returns:
- the dataset stroke
-
setDatasetStroke
public void setDatasetStroke(Boolean datasetStroke)
Sets the dataset stroke.- Parameters:
datasetStroke- decides whether to show a stroke for datasets (default is true)
-
getDatasetStrokeWidth
public Integer getDatasetStrokeWidth()
Gets the dataset stroke width.- Returns:
- the dataset stroke width
-
setDatasetStrokeWidth
public void setDatasetStrokeWidth(Integer datasetStrokeWidth)
Sets the dataset stroke width.- Parameters:
datasetStrokeWidth- the new dataset stroke width (default is 2).
-
getDatasetFill
public Boolean getDatasetFill()
Gets the dataset fill.- Returns:
- the dataset fill
-
setDatasetFill
public void setDatasetFill(Boolean datasetFill)
Sets the dataset fill.- Parameters:
datasetFill- whether to fill the dataset with a color (default is true)
-
getShowLine
public Boolean getShowLine()
-
setShowLine
public void setShowLine(Boolean showLine)
-
getTension
public Double getTension()
-
setTension
public void setTension(Double tension)
-
-