Chart :: Display

Thread is closed for posting
4 posts, 0 answers
  1. Kushan Shah
    Kushan Shah avatar
    18 posts
    Member since:
    Jul 2006

    Posted 17 Nov 2009 Link to this post

    Hi ,

     

    I have a pie chart containing large amount of data, thus when the chart is rendered the labels overlap each other (see attached image). So, how can I show label of pie slice so it appears readable ? Is there any way to provide line connectors from pie slice to Labels…or may be something similar to this?

     
    The project is being developed in asp.net 3.5 with C# as scripting language.

     

    Your quick response will be appreciated.

  2. Schlurk
    Schlurk avatar
    812 posts
    Member since:
    May 2009

    Posted 17 Nov 2009 Link to this post

    You can take use of the "ShowLabelConnectors" property that you can find in the code-behind by doing:

     
    mySeries.Appearance.ShowLabelConnectors = true 

    And in order to get the spacing you are looking for you could look into the following declarations:

     
    <telerik:ChartSeries Name="Series 1" Type="Pie"
        <appearance ShowLabelConnectors="true"
            <LabelAppearance Distance="20" LabelConnectorStyle-Color="AliceBlue"
            </LabelAppearance> 
            ... 

  3. Chris G.
    Chris G. avatar
    1 posts
    Member since:
    Nov 2009

    Posted 18 Nov 2009 Link to this post

    I'm having trouble moving the legend off of the plot area even though it's set to display "outside plot area." I can't make it any wider but I've tried making it taller, to no avail. The Title uses HAlignment and VAlignment but I can't seem to find anything to position the Legend.
  4. Schlurk
    Schlurk avatar
    812 posts
    Member since:
    May 2009

    Posted 18 Nov 2009 Link to this post

    Is your RadChart wide enough to support the Legend? You may have to play around with the margins of the PlotArea, or increase the width of the Chart in order to have the legend fit.
Back to Top