Class PlotLine
java.lang.Object
com.vaadin.flow.component.charts.model.AbstractConfigurationObject
com.vaadin.flow.component.charts.model.PlotLine
- All Implemented Interfaces:
Serializable
An array of lines stretching across the plot area, marking a specific value on one of the axes.
In
styled mode, the plot lines are styled by the
.highcharts-plot-line class in addition to the
className option.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetColor()getId()getLabel()getValue()getWidth()voidsetClassName(String className) A custom class name, in addition to the defaulthighcharts-plot-line, to apply to each individual line.voidThe color of the line.voidsetDashStyle(DashStyle dashStyle) The dashing or dot style for the plot line.voidAn id used for identifying the plot line in Axis.removePlotLine.voidText labels for the plot bandsvoidThe position of the line in axis units.voidThe width or thickness of the plot line.voidThe z index of the plot line within the chart.
-
Constructor Details
-
PlotLine
public PlotLine() -
PlotLine
-
-
Method Details
-
getClassName
- See Also:
-
setClassName
A custom class name, in addition to the defaulthighcharts-plot-line, to apply to each individual line. -
getColor
- See Also:
-
setColor
The color of the line. -
getDashStyle
- See Also:
-
setDashStyle
The dashing or dot style for the plot line. For possible values see this overview.Defaults to: Solid
-
getId
- See Also:
-
setId
An id used for identifying the plot line in Axis.removePlotLine. -
getLabel
- See Also:
-
setLabel
Text labels for the plot bands -
getValue
- See Also:
-
setValue
The position of the line in axis units. -
getWidth
- See Also:
-
setWidth
The width or thickness of the plot line. -
getZIndex
- See Also:
-
setZIndex
The z index of the plot line within the chart.
-