Pie Chart - Squished data labels

10 posts, 1 answers
  1. Terry
    Terry avatar
    2 posts
    Member since:
    Apr 2009

    Posted 24 Apr 2009 Link to this post

    I'm wondering how I can fix this problem...

    Screenshot: http://i41.tinypic.com/2metzzt.jpg

    As you can see the data labels are being squished when the size of the pie chart slice is smaller than the label.
    I'd like to know what my options are for adjusting where the labels appear.

    Thanks
  2. Answer
    Dwight
    Admin
    Dwight avatar
    475 posts

    Posted 27 Apr 2009 Link to this post

    Hello Terry,

    The labels of the Pie chart items are being clipped since they are part of the pie chart item itself and clipping is required for the hover and click events to work on the correct items. This bug is already logged in our bug tracker, and I hope a solution will be available soon.

    Kind regards,
    Evtim
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. Terry
    Terry avatar
    2 posts
    Member since:
    Apr 2009

    Posted 27 Apr 2009 Link to this post

    Good to know it's been acknowledged.

    There are really two issues, the first being the label clipping when it exceeds the size of the pie slice, and the second is that even when it fits the slice, part of it is being clipped off the side of the chart for seemingly no reason.

    Please fix this soon as I am trying to build an application to show our IT management to purchase the Telerik suite of controls.

    Thanks.
  4. Dwight
    Admin
    Dwight avatar
    475 posts

    Posted 28 Apr 2009 Link to this post

    Hi Terry,

    The development team informed me that there is a complication with this feature. If a single piece of the pie is thin, the label might overflow. Having multiple thin pieces, however, will make the labels overlap each other. To resolve this problem, we need to move the labels outside the items, in separate layer, and to implement intelligent space distribution. This feature, however, is still not scheduled for development and, unfortunately, I cannot give you a time frame for it's completion.

    The second issue is caused by the same clipping, and will be resolved with the first issue.

    Currently, I can suggest changing the labels offset of the Pie chart (fixes the second issue to some extent):
    series.Definition = new PieSeriesDefinition() { LabelOffset = 0.5 }; 


    Best wishes,
    Evtim
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  5. Zachary Rose
    Zachary Rose avatar
    1 posts
    Member since:
    Dec 2009

    Posted 29 Dec 2009 Link to this post

    Hi,

    I was wondering if there is an updated timetable for when we can expect these issues to be resolved (or perhaps they already are and I am simply unaware)?

    Thanks for your help.
  6. Dwight
    Admin
    Dwight avatar
    475 posts

    Posted 04 Jan 2010 Link to this post

    Hi Zachary,

    There is no official time table for fixes and features. The fix to this issue requires extensive rework of the items' labels and how they are rendered. This will be part of adding smart label functionality to the RadChart.

    Regards,
    Evtim
    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.
  7. Michael
    Michael avatar
    15 posts
    Member since:
    Dec 2009

    Posted 24 Feb 2010 Link to this post


    I'm having a problem placing labels outside of the pie, since labels inside the pie can become squished between the pie wedges, or overlap with other pie labels.  I can place labels outside of the pie by setting the offset to something like 1.1, but the labels seem to be cut off by the bounds of the chart itself.  Is there a way to make the pie smaller so the outside labels don't get clipped?  Even with this fix, we still have the problem of overlapping labels in the case that many small wedges are situated close to one another.

    What we would really like is a line pointing from the label to the pie itself similar to the image I'm linking.  Is there a way to solve these problems and create a line linking a label to a pie wedge?

    sample pie chart w/ lines connecting labels

    -mike
  8. Vladimir Milev
    Admin
    Vladimir Milev avatar
    1061 posts

    Posted 25 Feb 2010 Link to this post

    Hello Michael,

    I can say that we have remedied the problem with clipped labels and the solution will ship with Q1 2010 release. About the spider-like labels (ones with connecting lines) it is on our TODO list but will not ship for Q1.

    Sincerely yours,
    Vladimir Milev
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  9. Chris Smith
    Chris Smith avatar
    2 posts
    Member since:
    May 2007

    Posted 21 Apr 2010 Link to this post

    For the labels overlapping issue and the labels being cut off when they are outside the bounds of the chart, is this the bug tracking item for it - http://www.telerik.com/support/pits.aspx#/public/silverlight/43

    We have been really excited to use your silverlight controls, mainly the charting components, but the overlapping labels/cut off labels are a real pain... I hope there is a fix soon...

    Chris





  10. Vladimir Milev
    Admin
    Vladimir Milev avatar
    1061 posts

    Posted 26 Apr 2010 Link to this post

    Hi Chris Smith,

    We have actually much improved label clipping using a new feature called "Smart Labels". We have also implemented a spider-like mode for pie charts. Check this example out.

    Sincerely yours,
    Vladimir Milev
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top