Interface AxisFitCallback


  • public interface AxisFitCallback
    Interface to be implemented which can be used to change parameters in the scale during fitting phase.
    Author:
    Andrea "Stock" Stocchero
    • Method Detail

      • onBeforeFit

        void onBeforeFit​(Axis axis,
                         AxisItem item)
        Callback that runs before the scale fits to the canvas.
        Parameters:
        axis - axis instance where this callback as been defined
        item - axis item instance
      • onAfterFit

        void onAfterFit​(Axis axis,
                        AxisItem item)
        Callback that runs after the scale fits to the canvas.
        Parameters:
        axis - axis instance where this callback as been defined
        item - axis item instance