Class TooltipStyle

java.lang.Object
com.vaadin.flow.component.charts.model.AbstractConfigurationObject
com.vaadin.flow.component.charts.model.style.TooltipStyle
All Implemented Interfaces:
Serializable

public class TooltipStyle extends AbstractConfigurationObject
Style options for tooltips
See Also:
  • Constructor Details

    • TooltipStyle

      public TooltipStyle()
  • Method Details

    • 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

      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 -