Hello,
I have added a pie-chart to my report. For each "pie-slice", I have added a label that appears just outside the slice. This works fine.
However, I am unable to add a "connecting-line" from the pie-slice to its label. Regardless of what code I add (in chart1_NeedDataSource), no LabelConnector appears. Is there some problem connecting labels to "pie-slices" or am I doing something wrong?
Thanks in advance.
I have added a pie-chart to my report. For each "pie-slice", I have added a label that appears just outside the slice. This works fine.
However, I am unable to add a "connecting-line" from the pie-slice to its label. Regardless of what code I add (in chart1_NeedDataSource), no LabelConnector appears. Is there some problem connecting labels to "pie-slices" or am I doing something wrong?
Here is some of the code I use to make the connecting-line appear but nothing helps:
serie.Appearance.LabelAppearance.Visible = true;
serie.Appearance.LabelAppearance.LabelConnectorStyle.Visible = true;
serie.Appearance.ShowLabels = true;
serie.Appearance.LabelAppearance.LabelConnectorStyle.PenStyle = System.Drawing.Drawing2D.DashStyle.Solid;
serie.Appearance.LabelAppearance.LabelConnectorStyle.Width = 2;
Thanks in advance.