Class PlotBand
java.lang.Object
com.vaadin.flow.component.charts.model.AbstractConfigurationObject
com.vaadin.flow.component.charts.model.PlotBand
- All Implemented Interfaces:
Serializable
An array of objects defining plot bands on the Y axis.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetColor()
getFrom()
getId()
getLabel()
getTo()
void
setBorderColor
(Color borderColor) Border color for the plot band.void
setBorderWidth
(Number borderWidth) Border width for the plot band.void
setClassName
(String className) A custom class name, in addition to the defaulthighcharts-plot-band
, to apply to each individual band.void
The color of the plot band.void
The start position of the plot band in axis units.void
void
Deprecated.as of 4.0.void
An id used for identifying the plot band in Axis.removePlotBand.void
setInnerRadius
(String innerRadius) In a gauge chart, this option determines the inner radius of the plot band that stretches along the perimeter.void
Text labels for the plot bandsvoid
setOuterRadius
(String outerRadius) In a gauge chart, this option determines the outer radius of the plot band that stretches along the perimeter.void
setThickness
(String thickness) In a gauge chart, this option sets the width of the plot band stretching along the perimeter.void
The end position of the plot band in axis units.void
void
Deprecated.as of 4.0.void
The z index of the plot band within the chart, relative to other elements.
-
Constructor Details
-
PlotBand
public PlotBand() -
PlotBand
-
-
Method Details
-
getBorderColor
- See Also:
-
setBorderColor
Border color for the plot band. Also requiresborderWidth
to be set.Defaults to: null
-
getBorderWidth
- See Also:
-
setBorderWidth
Border width for the plot band. Also requiresborderColor
to be set.Defaults to: 0
-
getClassName
- See Also:
-
setClassName
A custom class name, in addition to the defaulthighcharts-plot-band
, to apply to each individual band. -
getColor
- See Also:
-
setColor
The color of the plot band. -
getFrom
- See Also:
-
setFrom
The start position of the plot band in axis units. -
getId
- See Also:
-
setId
An id used for identifying the plot band in Axis.removePlotBand. -
getInnerRadius
- See Also:
-
setInnerRadius
In a gauge chart, this option determines the inner radius of the plot band that stretches along the perimeter. It can be given as a percentage string, like"100%"
, or as a pixel number, like100
. By default, the inner radius is controlled by the thickness option.Defaults to: null
-
getLabel
- See Also:
-
setLabel
Text labels for the plot bands -
getOuterRadius
- See Also:
-
setOuterRadius
In a gauge chart, this option determines the outer radius of the plot band that stretches along the perimeter. It can be given as a percentage string, like"100%"
, or as a pixel number, like100
.Defaults to: 100%
-
getThickness
- See Also:
-
setThickness
In a gauge chart, this option sets the width of the plot band stretching along the perimeter. It can be given as a percentage string, like"10%"
, or as a pixel number, like10
. The default value 10 is the same as the default tickLength, thus making the plot band act as a background for the tick markers.Defaults to: 10
-
getTo
- See Also:
-
setTo
The end position of the plot band in axis units. -
getZIndex
- See Also:
-
setZIndex
The z index of the plot band within the chart, relative to other elements. Using the same z index as another element may give unpredictable results, as the last rendered element will be on top. Values from 0 to 20 make sense. -
setFrom
Deprecated.as of 4.0. Use#setPointStart(Instant)
-
setFrom
- See Also:
-
setTo
Deprecated.as of 4.0. Use#setPointStart(Instant)
-
setTo
- See Also:
-