Interface AxisCalculateLabelRotationCallback


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

      • onBeforeCalculateLabelRotation

        void onBeforeCalculateLabelRotation​(Axis axis,
                                            AxisItem item)
        Callback that runs before tick rotation is determined.
        Parameters:
        axis - axis instance where this callback as been defined
        item - axis item instance
      • onAfterCalculateLabelRotation

        void onAfterCalculateLabelRotation​(Axis axis,
                                           AxisItem item)
        Callback that runs after tick rotation is determined.
        Parameters:
        axis - axis instance where this callback as been defined
        item - axis item instance