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

Rad Item label not display inside pie chart section

3 Answers 237 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
vivek shukla
Top achievements
Rank 1
vivek shukla asked on 14 Dec 2009, 10:34 AM
RcMyAccount.Series[0].SetItemLabel(0, string.Format("Active Projects\n {0}", currentPorject.Count));
RcMyAccount.Series[0].SetItemLabel(1, string.Format("Available  Projects\n {0}", CurrentPlan.MaxProjects - ActiveProject));
RcMyAccount.Series[0].Items[0].Label.Appearance.LabelLocation = StyleSeriesItemLabel.ItemLabelLocation.Inside;
 RcMyAccount.Series[0].Items[1].Label.Appearance.LabelLocation = StyleSeriesItemLabel.ItemLabelLocation.Inside;

I m trying this code to show items label inside pie chart but it's not working.
please find attached snapshot of Pie chart.

        

3 Answers, 1 is accepted

Sort by
0
Ves
Telerik team
answered on 15 Dec 2009, 08:58 AM
Hi Vivek,

You can further control the label position through the Distance property -- in this case you can use negative values to move the label towards the pie center:
RcMyAccount.Series[0].Items[0].Label.Appearance.Distance = -20;

Best regards,
Ves
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Goraksh
Top achievements
Rank 1
answered on 21 Aug 2013, 11:05 AM
Hello Ves,
Can we do this same Item Labels positioning in RadHtmlchart?. If yes please tell me how do to that. I want to reduce the distance between my actual piechart and its item Labels.
0
Danail Vasilev
Telerik team
answered on 26 Aug 2013, 09:33 AM
Hello Goraksh,

I am sorry to say that currently RadHtmlChart doesn't expose any properties for controlling the labels position of Pie/Donut Series. Such a feature request, however, has already been logged in our feedback portal here, so that you can monitor, comment and vote on it.

As more and more people vote on particular item its priority for implementation raises.

Regards,
Danail Vasilev
Telerik
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 the blog feed now.
Tags
Chart (Obsolete)
Asked by
vivek shukla
Top achievements
Rank 1
Answers by
Ves
Telerik team
Goraksh
Top achievements
Rank 1
Danail Vasilev
Telerik team
Share this question
or