Interface BeforeUpdateHook


  • public interface BeforeUpdateHook
    Called before updating 'chart'.
    If any plugin returns false, the update is cancelled (and thus subsequent render(s)) until another 'update' is triggered.
    Author:
    Andrea "Stock" Stocchero
    • Method Detail

      • onBeforeUpdate

        boolean onBeforeUpdate​(IsChart chart,
                               PluginUpdateArgument argument)
        Called before updating 'chart'.
        If any plugin returns false, the update is cancelled (and thus subsequent render(s)) until another 'update' is triggered.
        Parameters:
        chart - the chart instance.
        argument - the argument passed for update
        Returns:
        false to cancel the chart update.