com.vaadin.flow.component.charts.model.
Class Zones
- java.lang.Object
-
- com.vaadin.flow.component.charts.model.AbstractConfigurationObject
-
- com.vaadin.flow.component.charts.model.Zones
-
All Implemented Interfaces:
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 theclassName
option (view live demo).See Also:
-
-
Constructor Summary
Constructors Constructor and Description Zones()
-
Method Summary
All Methods Modifier and Type Method and Description String
getClassName()
Color
getColor()
DashStyle
getDashStyle()
Color
getFillColor()
Number
getValue()
void
setClassName(String className)
Styled mode only.
void
setColor(Color color)
Defines the color of the series.
void
setDashStyle(DashStyle dashStyle)
A name for the dash style to use for the graph.
void
setFillColor(Color fillColor)
Defines the fill color for the series (in area type series)
void
setValue(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
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
-
-