Interface BeforeDatasetsUpdateHook


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

      • onBeforeDatasetsUpdate

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