-
public interface IAxisValueFormatterCustom formatter interface that allows formatting of axis labels before they are being drawn.
-
-
Method Summary
Modifier and Type Method Description abstract StringgetFormattedValue(Float value, AxisBase axis)Called when a value from an axis is to be formatted before being drawn. -
-
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 formattedaxis- the axis the value belongs to
-
-
-
-