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

Pie Chart - Squished data labels

9 Answers 267 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Terry
Top achievements
Rank 1
Terry asked on 24 Apr 2009, 03:31 PM
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

9 Answers, 1 is accepted

Sort by
0
Accepted
Dwight
Telerik team
answered on 27 Apr 2009, 01:22 PM
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.
0
Terry
Top achievements
Rank 1
answered on 27 Apr 2009, 01:27 PM
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.
0
Dwight
Telerik team
answered on 28 Apr 2009, 11:30 AM
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.
0
Zachary Rose
Top achievements
Rank 1
answered on 29 Dec 2009, 09:06 PM
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.
0
Dwight
Telerik team
answered on 04 Jan 2010, 08:10 AM
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.
0
Michael
Top achievements
Rank 1
answered on 24 Feb 2010, 10:23 PM

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
0
Vladimir Milev
Telerik team
answered on 25 Feb 2010, 11:07 AM
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.
0
Chris Smith
Top achievements
Rank 1
answered on 22 Apr 2010, 01:35 AM
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





0
Vladimir Milev
Telerik team
answered on 26 Apr 2010, 09:31 AM
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.
Tags
Chart
Asked by
Terry
Top achievements
Rank 1
Answers by
Dwight
Telerik team
Terry
Top achievements
Rank 1
Zachary Rose
Top achievements
Rank 1
Michael
Top achievements
Rank 1
Vladimir Milev
Telerik team
Chris Smith
Top achievements
Rank 1
Share this question
or