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

[Solved] Spider Labels getting clipped

1 Answer 160 Views
Chart
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Jeff Kershner
Top achievements
Rank 1
Jeff Kershner asked on 19 Oct 2010, 05:02 PM
Check out the attached chart.  The spider labels on this pie chart are being clipped even though the chart is correctly placed in a view box.

Is there a way we can do any one of the following:
1. wrap the percentage to the line below:
     NET
     10%
2. Shrink the length of the spider lines
3. Anything else you can think of?


1 Answer, 1 is accepted

Sort by
0
Velin
Telerik team
answered on 22 Oct 2010, 12:30 PM
Hi Jeff Kershner,

From the image, you can see that the labels positioning algorithm tries to arrange all the labels in a very limited space(the top-right corner of the chart area) so that no label overlaps any other. Unfortunately, there is physically not enough space and this is the reason some of the labels are partially visible.

In other words, the label positioning algorithm tries to calculate non overlapping positions for all labels(if possible)and after that it considers the visibility of the labels positions.

Here are the steps you can make to improve the visibility of the labels in this specific scenrio:
  1. Re-order the data, if applicable. Put the large slice(COM) in the middle of the list of data. This will make the labels appear on both sides of the pie chart.
  2. Use the PieSeriesDefinition.LabelSettings.Distance property along with the PieSeriesDefinition.RadiusFactor property to control the length of the spider connectors and the relative radius of the pie compared to the size of the ChartArea.    

Hope this will help.

Sincerely yours,
Ryan
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
Jeff Kershner
Top achievements
Rank 1
Answers by
Velin
Telerik team
Share this question
or