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
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetColor()getFrom()getId()getLabel()getTo()voidsetBorderColor(Color borderColor) Border color for the plot band.voidsetBorderWidth(Number borderWidth) Border width for the plot band.voidsetClassName(String className) A custom class name, in addition to the defaulthighcharts-plot-band, to apply to each individual band.voidThe color of the plot band.voidThe start position of the plot band in axis units.voidvoidDeprecated.as of 4.0.voidAn id used for identifying the plot band in Axis.removePlotBand.voidsetInnerRadius(String innerRadius) In a gauge chart, this option determines the inner radius of the plot band that stretches along the perimeter.voidText labels for the plot bandsvoidsetOuterRadius(String outerRadius) In a gauge chart, this option determines the outer radius of the plot band that stretches along the perimeter.voidsetThickness(String thickness) In a gauge chart, this option sets the width of the plot band stretching along the perimeter.voidThe end position of the plot band in axis units.voidvoidDeprecated.as of 4.0.voidThe 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 requiresborderWidthto be set.Defaults to: null
-
getBorderWidth
- See Also:
-
setBorderWidth
Border width for the plot band. Also requiresborderColorto 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:
-