Class TooltipBodyItem


  • public final class TooltipBodyItem
    extends NativeObjectContainer
    This object is passed by CHART.JS to the callback to manage tooltip body.
    Author:
    Andrea "Stock" Stocchero
    • Method Detail

      • getBefore

        public List<String> getBefore()
        Returns text to render before the body section.
        Returns:
        text to render before the body section.
      • getLines

        public List<String> getLines()
        Returns all lines of body section.
        Returns:
        all lines of body section.
      • getAfter

        public List<String> getAfter()
        Returns text to render after the body section
        Returns:
        text to render after the body section