0

I have a line graph, Given some certain points on the graph, I wish to add some explanation on them, such as this:

alt text

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.

Graviton
  • 2,292

1 Answers1

2

See http://en.wikipedia.org/wiki/Automatic_label_placement

lhf
  • 216,483