WPF Pie Chart - Labels are Overlapping
===



I am creating a Pie Chart . I cannot use the WPF Toolkit .I have designed the Pie Chart such that the labels are shown outside of the pie section .

I have used a calculation which would tell me where to place the label :

var xval = xc + ((r + 30 ) * Math.Cos(rd));

var yval = yc + ((r + 30) * Math.Sin(rd));

The above values xval and yval are the starting positions of the label.

Well this does work fine when the sections of the pie chart are relatively large.

When the sections of the Pie become two small , the Labels of the two neighbouring sections intersect.

Is there any way to avoid this . 

One position solution I found was implementing connectors like spider model .

Spider Model looks like a spider where all the labels of section on the left side are present on left and those on the right side are present on the right .

Lines are used to connect those labels to sections.





Thanks ,
Mahadesh