Interface BeforeRenderHook


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

      • onBeforeRender

        boolean onBeforeRender​(IsChart chart)
        Called before rendering 'chart'.
        If any plugin returns false, the rendering is cancelled until another 'render' is triggered.
        Parameters:
        chart - the chart instance.
        Returns:
        false to cancel the chart rendering.