Interface AxisTickToLabelConversionCallback


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

      • onBeforeTickToLabelConversion

        void onBeforeTickToLabelConversion​(Axis axis,
                                           AxisItem item)
        Callback that runs before ticks are converted in the strings.
        Parameters:
        axis - axis instance where this callback as been defined
        item - axis item instance
      • onAfterTickToLabelConversion

        void onAfterTickToLabelConversion​(Axis axis,
                                          AxisItem item)
        Callback that runs after ticks are converted in the strings.
        Parameters:
        axis - axis instance where this callback as been defined
        item - axis item instance