Class TooltipStyle

    • Constructor Detail

      • TooltipStyle

        public TooltipStyle()
    • Method Detail

      • getBackgroundColor

        public Color getBackgroundColor()
        Returns:
        The background color of tooltips, null if not defined
      • setBackgroundColor

        public void setBackgroundColor​(Color backgroundColor)
        Sets the background color of tooltips
        Parameters:
        backgroundColor -
      • getBorderWidth

        public Number getBorderWidth()
        Returns:
        The width of the border of tooltips, or null if not defined
      • setBorderWidth

        public void setBorderWidth​(Number borderWidth)
        Sets the width of the border of tooltips
        Parameters:
        borderWidth -
      • getStyle

        public Style getStyle()
        Returns:
        The style attributes for tooltips
      • setStyle

        public void setStyle​(Style style)
        Sets the style attributes for tooltips
        Parameters:
        style - Style attributes
      • getBorderRadius

        public Number getBorderRadius()
        Returns:
        The border radius of tooltips
      • setBorderRadius

        public void setBorderRadius​(Number borderRadius)
        Sets the border radius of tooltips
        Parameters:
        borderRadius - the border radius in pixels
      • getFollowPointer

        public Boolean getFollowPointer()
        Returns:
        the followPointer
      • setFollowPointer

        public void setFollowPointer​(Boolean followPointer)
        Parameters:
        followPointer - the followPointer to set
      • getBorderColor

        public Color getBorderColor()
        Returns:
        The color of the plot border, null if not defined
        See Also:
        setBorderColor(Color)
      • setBorderColor

        public void setBorderColor​(Color borderColor)
        Sets the color of the tooltip border. When null, the border takes the color of the corresponding series or point. Defaults to null.
        Parameters:
        borderColor -