Spider Labels getting clipped

2 posts, 0 answers
  1. Jeff Kershner
    Jeff Kershner avatar
    62 posts
    Member since:
    Aug 2009

    Posted 19 Oct 2010 Link to this post

    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:
    2. Shrink the length of the spider lines
    3. Anything else you can think of?

  2. Velin
    Velin avatar
    391 posts

    Posted 22 Oct 2010 Link to this post

    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,
    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