Package org.zkoss.chart
Class StackShadow
- java.lang.Object
-
- org.zkoss.chart.Optionable
-
- org.zkoss.chart.StackShadow
-
- All Implemented Interfaces:
Serializable
,OptionDataListener
,org.zkoss.json.JSONAware
public class StackShadow extends Optionable
Relevant only for pictorial series. The stackShadow forms the background of stacked points. Requires series.stacking to be defined.- Since:
- 11.2.0.0
- Author:
- Jamson Chan
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.zkoss.chart.Optionable
NOT_NULL_VALUE, options
-
-
Constructor Summary
Constructors Constructor Description StackShadow()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Color
getBorderColor()
Returns the color of the stackShadow border.Number
getBorderWidth()
Returns the width of the stackShadow border.Color
getColor()
Returns the color of the stackShadow.boolean
isEnabled()
Returns enable or disable stackShadow.void
setBorderColor(String borderColor)
Sets the color of the stackShadow border.void
setBorderColor(Color borderColor)
Sets the color of the stackShadow border.void
setBorderColor(LinearGradient borderColor)
Sets the color of the stackShadow border.void
setBorderColor(RadialGradient borderColor)
Sets the color of the stackShadow border.void
setBorderWidth(Number borderWidth)
Sets the width of the stackShadow border.void
setColor(String color)
Sets the color of the stackShadow.void
setColor(Color color)
Sets the color of the stackShadow.void
setColor(LinearGradient color)
Sets the color of the stackShadow.void
setColor(RadialGradient color)
Sets the color of the stackShadow.void
setEnabled(boolean enabled)
Sets enable or disable stackShadow.-
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
-
getBorderColor
public Color getBorderColor()
Returns the color of the stackShadow border.Default: "transparent"
-
setBorderColor
public void setBorderColor(Color borderColor)
Sets the color of the stackShadow border.
-
setBorderColor
public void setBorderColor(String borderColor)
Sets the color of the stackShadow border.
-
setBorderColor
public void setBorderColor(LinearGradient borderColor)
Sets the color of the stackShadow border.
-
setBorderColor
public void setBorderColor(RadialGradient borderColor)
Sets the color of the stackShadow border.
-
getBorderWidth
public Number getBorderWidth()
Returns the width of the stackShadow border.Defaults: 0
-
setBorderWidth
public void setBorderWidth(Number borderWidth)
Sets the width of the stackShadow border.
-
getColor
public Color getColor()
Returns the color of the stackShadow.Default: "#dedede"
-
setColor
public void setColor(Color color)
Sets the color of the stackShadow.
-
setColor
public void setColor(String color)
Sets the color of the stackShadow.
-
setColor
public void setColor(LinearGradient color)
Sets the color of the stackShadow.
-
setColor
public void setColor(RadialGradient color)
Sets the color of the stackShadow.
-
isEnabled
public boolean isEnabled()
Returns enable or disable stackShadow.Defaults: null
-
setEnabled
public void setEnabled(boolean enabled)
Sets enable or disable stackShadow.
-
-