Interface PointLabelCallback
-
public interface PointLabelCallback
Callback function to transform data labels to point labels.
It can return aList
of strings (for multiple lines).- Author:
- Andrea "Stock" Stocchero
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Object
onCallback(Axis axis, String item, int index)
Callback function to transform data labels to point labels.
-
-
-
Method Detail
-
onCallback
Object onCallback(Axis axis, String item, int index)
Callback function to transform data labels to point labels. The default implementation simply returns the current string.- Parameters:
axis
- axis instance where this callback as been defineditem
- label of current labelindex
- index of the label- Returns:
- new label to apply to point label.
It can return aList
of strings (for multiple lines) or a string (for single line).
-
-