Pie Chart and Callout to Labels

Thread is closed for posting
4 posts, 0 answers
  1. Ron
    Ron avatar
    13 posts
    Member since:
    Sep 2008

    Posted 07 Oct 2008 Link to this post

    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!
  2. Ron
    Ron avatar
    13 posts
    Member since:
    Sep 2008

    Posted 07 Oct 2008 Link to this post

    Well, ChatSeriesAppearance.ShowLabelConnectors = true did it.

    Thanks :)
  3. Ron
    Ron avatar
    13 posts
    Member since:
    Sep 2008

    Posted 09 Oct 2008 Link to this post

    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
  4. Vladimir Milev
    Admin
    Vladimir Milev avatar
    1061 posts

    Posted 10 Oct 2008 Link to this post

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