Interface AxisBuildTicksCallback


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

      • onBeforeBuildTicks

        void onBeforeBuildTicks​(Axis axis,
                                AxisItem item)
        Callback that runs before ticks are created.
        Parameters:
        axis - axis instance where this callback as been defined
        item - axis item instance
      • onAfterBuildTicks

        void onAfterBuildTicks​(Axis axis,
                               AxisItem item)
        Callback that runs after ticks are created. Useful for filtering ticks.
        Parameters:
        axis - axis instance where this callback as been defined
        item - axis item instance