I have a line graph, Given some certain points on the graph, I wish to add some explanation on them, such as this:
Is there any mathematical algorithm that allows me to overlay my explanation textbox "nicely" on the graphs, avoiding self overlapping as far as possible?
I understand that "nicely" is quite a subjective term, but all I want is that those text fields must be laid out as evenly as possible.