Rad Item label not display inside pie chart section

Thread is closed for posting
4 posts, 0 answers
  1. vivek shukla
    vivek shukla avatar
    3 posts
    Member since:
    Dec 2009

    Posted 14 Dec 2009 Link to this post

    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.


  2. Ves
    Ves avatar
    2914 posts

    Posted 15 Dec 2009 Link to this post

    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,
    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.
  3. Goraksh
    Goraksh avatar
    8 posts
    Member since:
    Jul 2013

    Posted 21 Aug 2013 Link to this post

    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.
  4. Danail Vasilev
    Danail Vasilev avatar
    1502 posts

    Posted 26 Aug 2013 Link to this post

    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.

    Danail Vasilev
    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.
Back to Top