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.
the value to be formatted
the axis the value belongs to
Extend ValueFormatter and use ValueFormatter#getAxisLabel(float, AxisBase)
Created by Philipp Jahoda on 20/09/15. Custom formatter interface that allows formatting of axis labels before they are being drawn.
Extend ValueFormatter instead