Package 

Interface IAxisValueFormatter


  • 
    public interface IAxisValueFormatter
    
                        

    Custom formatter interface that allows formatting of axis labels before they are being drawn.

    • Method Summary

      Modifier and Type Method Description
      abstract String getFormattedValue(Float value, AxisBase axis) Called when a value from an axis is to be formatted before being drawn.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getFormattedValue

         abstract String getFormattedValue(Float value, AxisBase axis)

        Called when a value from an axis is to be formatted before being drawn. For performance reasons, avoid excessive calculations and memory allocations inside this method.

        Parameters:
        value - the value to be formatted
        axis - the axis the value belongs to