Class Zones
- java.lang.Object
-
- com.vaadin.flow.component.charts.model.AbstractConfigurationObject
-
- com.vaadin.flow.component.charts.model.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
zoneAxisoption.In styled mode, the color zones are styled with the
.highcharts-zone-{n}class, or custom classed from theclassNameoption (view live demo).- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Zones()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetClassName()ColorgetColor()DashStylegetDashStyle()ColorgetFillColor()NumbergetValue()voidsetClassName(String className)Styled mode only.voidsetColor(Color color)Defines the color of the series.voidsetDashStyle(DashStyle dashStyle)A name for the dash style to use for the graph.voidsetFillColor(Color fillColor)Defines the fill color for the series (in area type series)voidsetValue(Number value)The value up to where the zone extends, if undefined the zones stretches to the last value in the series.
-
-
-
Method Detail
-
getClassName
public String getClassName()
- See Also:
setClassName(String)
-
setClassName
public void setClassName(String className)
Styled mode only. A custom class name for the zone.
-
getColor
public Color getColor()
- See Also:
setColor(Color)
-
setColor
public void setColor(Color color)
Defines the color of the series.
-
getDashStyle
public DashStyle getDashStyle()
- See Also:
setDashStyle(DashStyle)
-
setDashStyle
public void setDashStyle(DashStyle dashStyle)
A name for the dash style to use for the graph.
-
getFillColor
public Color getFillColor()
- See Also:
setFillColor(Color)
-
setFillColor
public void setFillColor(Color fillColor)
Defines the fill color for the series (in area type series)
-
getValue
public Number getValue()
- See Also:
setValue(Number)
-
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
-
-