Interface AxisDataLimitsCallback


  • public interface AxisDataLimitsCallback
    Interface to be implemented which can be used to change parameters in the scale during data limits determination.
    Author:
    Andrea "Stock" Stocchero
    • Method Detail

      • onBeforeDataLimits

        void onBeforeDataLimits​(Axis axis,
                                AxisItem item)
        Callback that runs before data limits are determined.
        Parameters:
        axis - axis instance where this callback as been defined
        item - axis item instance
      • onAfterDataLimits

        void onAfterDataLimits​(Axis axis,
                               AxisItem item)
        Callback that runs after data limits are determined.
        Parameters:
        axis - axis instance where this callback as been defined
        item - axis item instance