This question is locked. New answers and comments are not allowed.
I am using a CustomLabelRenderer for my line chart because I don't want the speech-bubble border that the default labels have. I draw the data point label a fixed distance either above or below the data point depending on the y position of the data point. The problem is, depending on the shape of the line chart, the labels sometimes overlap with the line chart's line, as shown in the attached image. I would like the labels to not overlap the line. Is there something in the API that can calculate the optimal placement of my labels that avoids overlapping my line?