Class 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
    • Constructor Detail

      • StackShadow

        public StackShadow()
    • 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.