Interface BeforeDatasetsDrawHook


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

      • onBeforeDatasetsDraw

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