Interface BeforeTooltipDrawHook


  • public interface BeforeTooltipDrawHook
    Called before drawing the 'tooltip'.
    If any plugin returns false, the tooltip drawing is cancelled until another 'render' is triggered.
    Author:
    Andrea "Stock" Stocchero
    • Method Detail

      • onBeforeTooltipDraw

        boolean onBeforeTooltipDraw​(IsChart chart,
                                    PluginTooltipArgument item)
        Called before drawing the 'tooltip'.
        If any plugin returns false, the tooltip drawing is cancelled until another 'render' is triggered.
        Parameters:
        chart - the chart instance.
        item - The tooltip instance.
        Returns:
        false to cancel the chart tooltip drawing.