com.vaadin.flow.component.charts.model.
Class PlotLine
All Implemented Interfaces:
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()
void
setClassName
(String className) A custom class name, in addition to the default
highcharts-plot-line
, to apply to each individual line.void
The color of the line.
void
setDashStyle
(DashStyle dashStyle) The dashing or dot style for the plot line.
void
An id used for identifying the plot line in Axis.removePlotLine.
void
Text labels for the plot bands
void
The position of the line in axis units.
void
The width or thickness of the plot line.
void
The 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 default
highcharts-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.
-