This is a migrated thread and some comments may be shown as answers.

Pie Chart Label Spacing

1 Answer 75 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Alex
Top achievements
Rank 1
Alex asked on 15 May 2013, 05:43 PM
I'm having an issue spacing out labels for a pie chart. I've tried playing with label margins and positions with no effect. See attached Img. The problem is when two or more very small slices of the pie are next to each other the labels overlap. How can I organize or space out these labels?

Thanks for any help.

1 Answer, 1 is accepted

Sort by
0
Rosko
Telerik team
answered on 20 May 2013, 01:27 PM
Hi Alex,

What you need to do is to set to true the IntelligentLabelsEnabled property. It can be done either programmatically or declaratively.

<telerik:RadChart ID="RadChart1" IntelligentLabelsEnabled="true" runat="server">
RadChart1.IntelligentLabelsEnabled = true;

In case, this proves insufficient to achieve good appearance, you could increase the distance between the pie and the labels.
<telerik:ChartSeries Type="Pie" Appearance-ShowLabelConnectors="true" Appearance-LabelAppearance-Distance="200">
pieSeries.Appearance.LabelAppearance.Distance = 200;



All the best, Rosko
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Chart (Obsolete)
Asked by
Alex
Top achievements
Rank 1
Answers by
Rosko
Telerik team
Share this question
or