Class TargetOptions

    • Constructor Detail

      • TargetOptions

        public TargetOptions()
    • Method Detail

      • getBorderColor

        public Color getBorderColor()
        Returns the border color of the rectangle representing the target. When not set, the point's border color is used.

        Default: null

      • setBorderColor

        public void setBorderColor​(Color borderColor)
        Sets the border color of the rectangle representing the target.
      • setBorderColor

        public void setBorderColor​(String borderColor)
        Sets the border color of the rectangle representing the target.
      • getBorderWidth

        public Number getBorderWidth()
        Returns the border width of the rectangle representing the target.

        Default: 0

      • setBorderWidth

        public void setBorderWidth​(Number borderWidth)
        Sets the border width of the rectangle representing the target.

        Default: 0

      • getColor

        public Color getColor()
        Returns the color of the rectangle representing the target. When not set, point's color (if set in point's options - color) or zone of the target value (if zones or negativeColor are set) or the same color as the point has is used.

        Default: null

      • setColor

        public void setColor​(Color color)
        Sets the color of the rectangle representing the target.
      • setColor

        public void setColor​(String color)
        Sets the color of the rectangle representing the target.
      • setColor

        public void setColor​(LinearGradient color)
        Sets the color of the rectangle representing the target.
      • setColor

        public void setColor​(RadialGradient color)
        Sets the color of the rectangle representing the target.
      • getHeight

        public Number getHeight()
        Returns the height of the rectangle representing the target.

        Default: 3

      • setHeight

        public void setHeight​(Number height)
        Sets the height of the rectangle representing the target.
      • getWidth

        public Object getWidth()
        Returns the width of the rectangle representing the target. Could be set as a pixel value or as a percentage of a column width.

        Default: "140%"

      • setWidth

        public void setWidth​(Number width)
        Sets the width of the rectangle representing the target. Could be set as a pixel value.
      • setWidth

        public void setWidth​(String width)
        Sets the width of the rectangle representing the target. Could be set as a percentage of a column width.