com.vaadin.flow.component.charts.model.

Class PlotLine

  • All Implemented Interfaces:

    Serializable


    @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 the className option.

    See Also:

    Serialized Form

    • Constructor Detail

      • PlotLine

        public PlotLine()
      • PlotLine

        public PlotLine(Number value)
    • Method Detail

      • setClassName

        public void setClassName(String className)

        A custom class name, in addition to the default highcharts-plot-line, to apply to each individual line.

      • setId

        public void setId(String id)

        An id used for identifying the plot line in Axis.removePlotLine.

      • setLabel

        public void setLabel(Label label)

        Text labels for the plot bands

      • setValue

        public void setValue(Number value)

        The position of the line in axis units.

      • setZIndex

        public void setZIndex(Number zIndex)

        The z index of the plot line within the chart.