Class Zones

  • 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:
    Serialized Form
    • Constructor Detail

      • Zones

        public Zones()
    • Method Detail

      • setClassName

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

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

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

        public void setFillColor​(Color fillColor)
        Defines the fill color for the series (in area type series)
      • 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