add line to labels only when necessary in addTextLabels
Opened this issue · 1 comments
Hi,
Thanks for the amazing function addTextLabels
. It has saved me for a lot of headaches. Just a aesthetical suggestion. It would be great (if possible) to have the option to draw the lines from the point to the plot only when the label is susceptible to be confused with a label of another dot in the plot. So in the case of isolated dots it is not necessary to plot the line but when a label is closer or equidistant to another dot and might be confused to which dot is referring then link the label and the dot with a line.
Hi @mmfalco,
Thanks for this suggestion and for using basicPlotteR
- glad you find it useful! I agree this would be a good feature and shouldn't be too difficult to implement 👍. I'll let you know when I've had a chance to add the functionality.
Thanks,
Joe