com.vaadin.flow.component.charts.model.
Class PlotLine
- java.lang.Object
-
- com.vaadin.flow.component.charts.model.AbstractConfigurationObject
-
- com.vaadin.flow.component.charts.model.PlotLine
-
All Implemented Interfaces:
@Generated(value="This class is generated and shouldn\'t be modified", comments="Incorrect and missing API should be reported to https://github.com/vaadin/vaadin-charts-flow/issues/new") public class PlotLine extends AbstractConfigurationObject
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 theclassName
option.See Also:
-
-
Method Summary
All Methods Modifier and Type Method and Description String
getClassName()
String
getId()
Label
getLabel()
Number
getValue()
Number
getZIndex()
void
setClassName(String className)
A custom class name, in addition to the default
highcharts-plot-line
, to apply to each individual line.void
setId(String id)
An id used for identifying the plot line in Axis.removePlotLine.
void
setLabel(Label label)
Text labels for the plot bands
void
setValue(Number value)
The position of the line in axis units.
void
setZIndex(Number zIndex)
The z index of the plot line within the chart.
-
-
-
Constructor Detail
-
PlotLine
public PlotLine()
-
PlotLine
public PlotLine(Number value)
-
-
Method Detail
-
getClassName
public String getClassName()
See Also:
-
setClassName
public void setClassName(String className)
A custom class name, in addition to the default
highcharts-plot-line
, to apply to each individual line.
-
getId
public String getId()
See Also:
-
setId
public void setId(String id)
An id used for identifying the plot line in Axis.removePlotLine.
-
getLabel
public Label getLabel()
See Also:
-
setLabel
public void setLabel(Label label)
Text labels for the plot bands
-
getValue
public Number getValue()
See Also:
-
setValue
public void setValue(Number value)
The position of the line in axis units.
-
getZIndex
public Number getZIndex()
See Also:
-
setZIndex
public void setZIndex(Number zIndex)
The z index of the plot line within the chart.
-
-