All Implemented Interfaces:
Serializable

public class Zones extends AbstractConfigurationObject

An array defining zones within a series. Zones can be applied to the X axis, Y axis or Z axis for bubbles, according to the zoneAxis option.

In styled mode, the color zones are styled with the .highcharts-zone-{n} class, or custom classed from the className option (view live demo).

See Also:
  • Constructor Details

    • Zones

      public Zones()
  • Method Details

    • getClassName

      public String getClassName()
      See Also:
    • setClassName

      public void setClassName(String className)
      Styled mode only. A custom class name for the zone.
    • getColor

      public Color getColor()
      See Also:
    • setColor

      public void setColor(Color color)
      Defines the color of the series.
    • getDashStyle

      public DashStyle getDashStyle()
      See Also:
    • setDashStyle

      public void setDashStyle(DashStyle dashStyle)
      A name for the dash style to use for the graph.
    • getFillColor

      public Color getFillColor()
      See Also:
    • setFillColor

      public void setFillColor(Color fillColor)
      Defines the fill color for the series (in area type series)
    • getValue

      public Number getValue()
      See Also:
    • setValue

      public void setValue(Number value)
      The value up to where the zone extends, if undefined the zones stretches to the last value in the series.

      Defaults to: undefined