Interface BeforeLayoutHook


  • public interface BeforeLayoutHook
    Called before laying out 'chart'.
    If any plugin returns false, the layout update is cancelled until another 'update' is triggered.
    Author:
    Andrea "Stock" Stocchero
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean onBeforeLayout​(IsChart chart)
      Called before laying out 'chart'.
      If any plugin returns false, the layout update is cancelled until another 'update' is triggered.
    • Method Detail

      • onBeforeLayout

        boolean onBeforeLayout​(IsChart chart)
        Called before laying out 'chart'.
        If any plugin returns false, the layout update is cancelled until another 'update' is triggered.
        Parameters:
        chart - the chart instance.
        Returns:
        false to cancel the chart layout.