Hide overlapping pie labels
If pie labels are long and positioned inside (distance < 0), they overlap. It would be nice to have an option to hide some of the labels.
I understand this is the same problem as finding the maximal independent set in a graph where the nodes are the labels and they're connected if they intersect.
That's an NP-hard problem: http://en.wikipedia.org/wiki/Independent_set_(graph_theory)#Exact_algorithms
It would be nice to have a simple approximation algorithm.
I have been experimenting with this: http://jsfiddle.net/yf2MA/
Here is the same code, written as a plugin so you don't have to attach event listeners to every chart: http://jsfiddle.net/highcharts/Smy56/
That's a good approximation, thanks for sharing!