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 Boolean
getBezierCurve()
Gets the bezier curve.Boolean
getDatasetFill()
Gets the dataset fill.Boolean
getDatasetStroke()
Gets the dataset stroke.Integer
getDatasetStrokeWidth()
Gets the dataset stroke width.String
getLegendTemplate()
Boolean
getPointDot()
Gets the point dot.Integer
getPointDotRadius()
Gets the point dot radius.Integer
getPointDotStrokeWidth()
Gets the point dot stroke width.Integer
getPointHitDetectionRadius()
Boolean
getScaleShowHorizontalLines()
Boolean
getScaleShowVerticalLines()
Boolean
getShowLine()
Double
getTension()
void
setBezierCurve(Boolean bezierCurve)
Sets the bezier curve.void
setDatasetFill(Boolean datasetFill)
Sets the dataset fill.void
setDatasetStroke(Boolean datasetStroke)
Sets the dataset stroke.void
setDatasetStrokeWidth(Integer datasetStrokeWidth)
Sets the dataset stroke width.void
setLegendTemplate(String legendTemplate)
void
setPointDot(Boolean pointDot)
Sets the point dot.void
setPointDotRadius(Integer pointDotRadius)
Sets the point dot radius.void
setPointDotStrokeWidth(Integer pointDotStrokeWidth)
Sets the point dot stroke width.void
setPointHitDetectionRadius(Integer pointHitDetectionRadius)
void
setScaleShowHorizontalLines(Boolean scaleShowHorizontalLines)
void
setScaleShowVerticalLines(Boolean scaleShowVerticalLines)
void
setShowLine(Boolean showLine)
void
setTension(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)
-
-