Class Pivot
- java.lang.Object
-
- com.vaadin.flow.component.charts.model.AbstractConfigurationObject
-
- com.vaadin.flow.component.charts.model.Pivot
-
- All Implemented Interfaces:
Serializable
public class Pivot extends AbstractConfigurationObject
Options for the pivot or the center point of the gauge.
In styled mode, the pivot is styled with the
.highcharts-gauge-series .highcharts-pivotrule.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Pivot()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ColorgetBackgroundColor()ColorgetBorderColor()NumbergetBorderWidth()NumbergetRadius()voidsetBackgroundColor(Color backgroundColor)The background color or fill of the pivot.voidsetBorderColor(Color borderColor)The border or stroke color of the pivot.voidsetBorderWidth(Number borderWidth)The border or stroke width of the pivot.voidsetRadius(Number radius)The pixel radius of the pivot.
-
-
-
Method Detail
-
getBackgroundColor
public Color getBackgroundColor()
- See Also:
setBackgroundColor(Color)
-
setBackgroundColor
public void setBackgroundColor(Color backgroundColor)
The background color or fill of the pivot.Defaults to: #000000
-
getBorderColor
public Color getBorderColor()
- See Also:
setBorderColor(Color)
-
setBorderColor
public void setBorderColor(Color borderColor)
The border or stroke color of the pivot. In able to change this, the borderWidth must also be set to something other than the default 0.Defaults to: #cccccc
-
getBorderWidth
public Number getBorderWidth()
- See Also:
setBorderWidth(Number)
-
setBorderWidth
public void setBorderWidth(Number borderWidth)
The border or stroke width of the pivot.Defaults to: 0
-
getRadius
public Number getRadius()
- See Also:
setRadius(Number)
-
setRadius
public void setRadius(Number radius)
The pixel radius of the pivot.Defaults to: 5
-
-