This is a migrated thread and some comments may be shown as answers.
Pie Chart and Callout to Labels
3 Answers 55 Views
This is a migrated thread and some comments may be shown as answers.
Ron
Top achievements
Rank 1
Ron asked on 08 Oct 2008, 03:41 AM
Hi

I am about to implement a pie chart usnig RadChart. There will be anything from 4 to over 20 items with varying name lengths - and it is quite vital to keep them legible.

I noticed that the labels overlap each other quite easily out of the box - is there any good way to avoid this?

1. Using legends
- not quite a good idea as they become hard to use when item number gets up there

2. Callout to labels
- Is this supported? If so, how?

3. Anything else?

Thanks in advance!

3 Answers, 1 is accepted

Sort by
0
Ron
Top achievements
Rank 1
answered on 08 Oct 2008, 04:37 AM
Well, ChatSeriesAppearance.ShowLabelConnectors = true did it.

Thanks :)
0
Ron
Top achievements
Rank 1
answered on 10 Oct 2008, 03:19 AM
Actually no, that didn't solve the problem..

When there are items with very small values, the slices get squeezed up - and end up overlappinge ach other.

example of a set of values that would cause this:
{1,1,1,100000}

The item with 100000 as the value will take virtually all of the space available and the three items with 1 as the value gets virtually no space. I could space out the labels by setting the "series.Appearance.LabelAppearance.Distance" but that doesn't solve the issue.

Is the chart smart enough to arrange the labels in a way that would prevent overlapping? If so, how can that be done? Surely this would be a common issue with all pie graphs that can have more than a few slices.

Thanks in advance!

EDIT:

I've tried IntelligentLabelsenabled property - which was very promising. It kind of works but some of the connectors bend inwards and place the labels in awkward places...

Is there any way to change the size of the pie graph itself? e.g. proportional to the PlotArea dimensions
0
Vladimir Milev
Telerik team
answered on 10 Oct 2008, 12:10 PM
Hi Ron,

You are probably looking for this property.

Greetings,
Vladimir Milev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Asked by
Ron
Top achievements
Rank 1
Answers by
Ron
Top achievements
Rank 1
Vladimir Milev
Telerik team
Share this question
or