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

Chart :: Display

3 Answers 48 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Kushan Shah
Top achievements
Rank 1
Kushan Shah asked on 17 Nov 2009, 07:29 AM

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.

3 Answers, 1 is accepted

Sort by
0
Schlurk
Top achievements
Rank 2
answered on 17 Nov 2009, 08:40 PM
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> 
        ... 

0
Chris G.
Top achievements
Rank 1
answered on 18 Nov 2009, 06:25 PM
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.
0
Schlurk
Top achievements
Rank 2
answered on 18 Nov 2009, 11:14 PM
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.
Tags
Chart (Obsolete)
Asked by
Kushan Shah
Top achievements
Rank 1
Answers by
Schlurk
Top achievements
Rank 2
Chris G.
Top achievements
Rank 1
Share this question
or