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 ColorgetBorderColor()Returns the color of the stackShadow border.NumbergetBorderWidth()Returns the width of the stackShadow border.ColorgetColor()Returns the color of the stackShadow.booleanisEnabled()Returns enable or disable stackShadow.voidsetBorderColor(String borderColor)Sets the color of the stackShadow border.voidsetBorderColor(Color borderColor)Sets the color of the stackShadow border.voidsetBorderColor(LinearGradient borderColor)Sets the color of the stackShadow border.voidsetBorderColor(RadialGradient borderColor)Sets the color of the stackShadow border.voidsetBorderWidth(Number borderWidth)Sets the width of the stackShadow border.voidsetColor(String color)Sets the color of the stackShadow.voidsetColor(Color color)Sets the color of the stackShadow.voidsetColor(LinearGradient color)Sets the color of the stackShadow.voidsetColor(RadialGradient color)Sets the color of the stackShadow.voidsetEnabled(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.
-
-