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

pie chart series item label positioning

4 Answers 462 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Boots
Top achievements
Rank 1
Boots asked on 22 Apr 2009, 07:55 PM
Hello,

I'm new to Telerik reporting and I was wondering if it's possible to change the series item label vertical positioning with a pie chart? Or even being able to move the labels Positioin.X and Y values would work.
I tried setting intelligentLabelsEnabled = true but with a lot of series items the labels are too hard to follow.

I tried somthing like,

ChartSeriesItem

 

item = new ChartSeriesItem();

 

item.YValue = 10;

 

item.Label.TextBlock.Text =

"Ben 10";

 

item.Label.Appearance.Position.Auto =

false;

 

item.Label.Appearance.Position.AlignedPosition = Telerik.Reporting.Charting.Styles.

AlignedPositions.None;

 

item.Label.Appearance.Position.X = 10;

item.Label.Appearance.Position.Y = 10;

 

chartDrill.Series[0].Items.Add(item);

Any ideas?
Thanks in advance,
~Boots

4 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 24 Apr 2009, 03:40 PM
Hi Boots,

LabelAppearance.Position is not meant to work for pie chart, which differs quite a bit from all other available types, as you may guess. The alternative is to show connectors for the items, which are enabled from the series.Appearance.ShowLabelConnectors property.
Your other option is to use legend - you can see our Product Line Sales and Sales DashBoard demo reports.

Greetings,
Steve
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Mark Holdt
Top achievements
Rank 1
answered on 08 Sep 2010, 06:24 AM
Dear Telerik team,

is the property Label.Appearance.Position with the newest release now working for pie chart label items?

The reason is that we continue to have problems with overlapping labels, label connectors. We have tried everything from IntelligentLabels, to AutoLayout etc, but there are always cases where label connectors stil overlap.

 Now I would like to know whether it is possible to manually set the position of the labels within pie chart?


Thank you
Mark
0
Steve
Telerik team
answered on 10 Sep 2010, 02:16 PM
Hi Mark,

It is not possible to manually position the labels. On a side note, if the slices in the pie are over a certain number, there would always be intercepting connectors and this might not always be possible to control. The only way to change that is if you alter the items in the chart collection i.e. the last added items are always on top and rotate counter clockwise.

Regards,
Steve
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
0
pradeep tamanar
Top achievements
Rank 1
answered on 19 Oct 2010, 06:31 AM
Hi Dear Telerik Team,

we have used telerik pie chart control inside that we use custom SeriesItemLabel style.
for label text alignment we set HorizontalContentAlignment as Center.
But label text is not going to position with this also.
could you please help us and let us know whether we are doing correct.

Thanks
Pradeep Tamanar
Tags
General Discussions
Asked by
Boots
Top achievements
Rank 1
Answers by
Steve
Telerik team
Mark Holdt
Top achievements
Rank 1
pradeep tamanar
Top achievements
Rank 1
Share this question
or