Interface PointLabelCallback


  • public interface PointLabelCallback
    Callback function to transform data labels to point labels.
    Author:
    Andrea "Stock" Stocchero
    • Method Detail

      • onCallback

        String 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 defined
        item - label of current label
        index - index of the label
        Returns:
        new label to apply to point label