Package org.zkoss.chart.plotOptions
Class GaugePivotPlotOptions
- java.lang.Object
-
- org.zkoss.chart.Optionable
-
- org.zkoss.chart.plotOptions.GaugePivotPlotOptions
-
- All Implemented Interfaces:
Serializable
,OptionDataListener
,org.zkoss.json.JSONAware
public class GaugePivotPlotOptions extends Optionable
An option for gauge pivot plot.All the options in this class support
DynamicalAttribute
.- Author:
- RaymondChao
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.zkoss.chart.Optionable
NOT_NULL_VALUE, options
-
-
Constructor Summary
Constructors Constructor Description GaugePivotPlotOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Color
getBackgroundColor()
Returns the background color or fill of the pivot.Color
getBorderColor()
Returns the border or stroke color of the pivot.Number
getBorderWidth()
Returns the border or stroke width of the pivot.Number
getRadius()
Returns the pixel radius of the pivot.void
setBackgroundColor(String color)
Sets the background color or fill of the pivot.void
setBackgroundColor(Color color)
Sets the background color or fill of the pivot.void
setBackgroundColor(LinearGradient color)
Sets the background color or fill of the pivot.void
setBackgroundColor(RadialGradient color)
Sets the background color or fill of the pivot.void
setBorderColor(String color)
Sets the border or stroke color of the pivot.void
setBorderColor(Color color)
Sets the border or stroke color of the pivot.void
setBorderColor(LinearGradient color)
Sets the border or stroke color of the pivot.void
setBorderColor(RadialGradient color)
Sets the border or stroke color of the pivot.void
setBorderWidth(Number borderWidth)
Sets the border or stroke width of the pivot.void
setRadius(Number radius)
Sets the pixel radius of the pivot.-
Methods inherited from class org.zkoss.chart.Optionable
addExtraAttr, addOptionDataListener, clearOptonDataListener, clone, containsKey, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, getAttr, getAttr, getClientState, getExtraAttr, merge, onChange, removeExtraAttr, removeKey, removeOptionDataListener, setAttr, setAttr, setAttr, setAttr, toJSONString, toString
-
-
-
-
Method Detail
-
getBackgroundColor
public Color getBackgroundColor()
Returns the background color or fill of the pivot.Default: "black".
-
setBackgroundColor
public void setBackgroundColor(Color color)
Sets the background color or fill of the pivot.
-
setBackgroundColor
public void setBackgroundColor(String color)
Sets the background color or fill of the pivot.
-
setBackgroundColor
public void setBackgroundColor(LinearGradient color)
Sets the background color or fill of the pivot.
-
setBackgroundColor
public void setBackgroundColor(RadialGradient color)
Sets the background color or fill of the pivot.
-
getBorderColor
public Color getBorderColor()
Returns 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.Default: "silver".
-
setBorderColor
public void setBorderColor(Color color)
Sets 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.
-
setBorderColor
public void setBorderColor(String color)
Sets 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.
-
setBorderColor
public void setBorderColor(LinearGradient color)
Sets 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.
-
setBorderColor
public void setBorderColor(RadialGradient color)
Sets 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.
-
getBorderWidth
public Number getBorderWidth()
Returns the border or stroke width of the pivot.Default: 0.
-
setBorderWidth
public void setBorderWidth(Number borderWidth)
Sets the border or stroke width of the pivot.
-
getRadius
public Number getRadius()
Returns the pixel radius of the pivot.Default: 5.
-
setRadius
public void setRadius(Number radius)
Sets the pixel radius of the pivot.
-
-