com.vaadin.flow.component.charts.model.
Class Pivot
- java.lang.Object
-
- com.vaadin.flow.component.charts.model.AbstractConfigurationObject
-
- com.vaadin.flow.component.charts.model.Pivot
-
All Implemented Interfaces:
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-pivot
rule.See Also:
-
-
Constructor Summary
Constructors Constructor and Description Pivot()
-
Method Summary
All Methods Modifier and Type Method and Description Color
getBackgroundColor()
Color
getBorderColor()
Number
getBorderWidth()
Number
getRadius()
void
setBackgroundColor(Color backgroundColor)
The background color or fill of the pivot.
void
setBorderColor(Color borderColor)
The border or stroke color of the pivot.
void
setBorderWidth(Number borderWidth)
The border or stroke width of the pivot.
void
setRadius(Number radius)
The pixel radius of the pivot.
-
-
-
Method Detail
-
getBackgroundColor
public Color getBackgroundColor()
See Also:
-
setBackgroundColor
public void setBackgroundColor(Color backgroundColor)
The background color or fill of the pivot.
Defaults to: #000000
-
getBorderColor
public Color getBorderColor()
See Also:
-
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
public void setBorderWidth(Number borderWidth)
The border or stroke width of the pivot.
Defaults to: 0
-
getRadius
public Number getRadius()
See Also:
-
setRadius
public void setRadius(Number radius)
The pixel radius of the pivot.
Defaults to: 5
-
-