Class Axes.Builder

  • Enclosing class:
    Axes

    public static final class Axes.Builder
    extends java.lang.Object
    Builder class for Axes.
    • Constructor Detail

      • Builder

        public Builder()
        Constructor with parameters for the required properties of Axes.
    • Method Detail

      • setxLabel

        public Axes.Builder setxLabel​(Label xLabel)
        Parameters:
        xLabel - New value for the property.
      • setxLabels

        public Axes.Builder setxLabels​(java.util.List<Label> xLabels)
        A list of X-Axis Labels with condition support. If needed, this property can be used to provide a list of x-axis label with condition support. For a label with single condition,'x-label' property can be used.
        Parameters:
        xLabels - New value for the property.
      • setyAxisUnitLabels

        public Axes.Builder setyAxisUnitLabels​(java.util.List<Label> yAxisUnitLabels)
        A list of Y-Axis unit Labels with condition support. If needed, this property can be used to provide a list of y-axis unit label with condition support. This unit label can be used to display the point value along with units like percentage, milliseconds etc.
        Parameters:
        yAxisUnitLabels - New value for the property.
      • setyAxisUnits

        public Axes.Builder setyAxisUnits​(java.util.List<AxisUnit> yAxisUnits)
        A list of Y-Axis unit with condition support. If needed, this property can be used to provide a list of y-axis unit with condition support. This unit could be like percentage, seconds, milliseconds etc.
        Parameters:
        yAxisUnits - New value for the property.
      • setyLabel

        public Axes.Builder setyLabel​(Label yLabel)
        Parameters:
        yLabel - New value for the property.
      • setyLabels

        public Axes.Builder setyLabels​(java.util.List<Label> yLabels)
        A list of Y-Axis Labels with condition support. If needed, this property can be used to provide a list of y-axis label with condition support. For a label with single condition,'y-label' property can be used.
        Parameters:
        yLabels - New value for the property.
      • build

        public Axes build()