getXValue
public java.lang.String getXValue(java.lang.String original,
int index,
ViewPortHandler viewPortHandler)
Returns the customized label that is drawn on the x-axis.
For performance reasons, avoid excessive calculations
and memory allocations inside this method.
- Specified by:
getXValue in interface XAxisValueFormatter
- Parameters:
original - the original x-axis label to be drawn
index - the x-index that is currently being drawn
viewPortHandler - provides information about the current chart state (scale, translation, ...)
- Returns: