Hi all, I am building a custom chart library for my company. I'm having troubles finding / inventing a good algorithm to place the chart labels so that the following requirements are met:
- Labels should not overlap
- Labels should remain as close as possible to the related slice
- If a label must be moved away from its slice, it should preferably go in radial, outwards direction.
To be clear, this is rather good in my book:
http://betterdashboards.files.wordpress.com/2009/02/piechartpercentagelabel1a.png
Thanks in advance!