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

Can't find PieSeries.LabelOffset property

3 Answers 15 Views
ChartView
This is a migrated thread and some comments may be shown as answers.
Mitchell
Top achievements
Rank 1
Mitchell asked on 17 Mar 2014, 04:58 AM
Is that a new property for the Q1, 2014 release? 
Thanks - Mitch

3 Answers, 1 is accepted

Sort by
0
Petar Marchev
Telerik team
answered on 19 Mar 2014, 09:23 AM
Hi Mitchell,

I just checked and there is no LabelOffset property in our PieSeries. We have a LabelOffset property in our Axis classese (LinearAxis, CategoricalAxis ..) but the PieSeries and RadPieChart do not use axes. Let me know if there is anything I can do. Perhaps if you explain why you get such an error, and where this code originates, we can find out where the problem hides and how to solve it.

Regards,
Petar Marchev
Telerik
 

DevCraft Q1'14 is here! Watch the online conference to see how this release solves your top-5 .NET challenges. Watch on demand now.

 
0
Mitchell
Top achievements
Rank 1
answered on 19 Mar 2014, 03:46 PM
I should have told you where I read that in the first place :). It's in your online docs here: http://www.telerik.com/help/wpf/radchartview-series-pieseries.html .

The text in question is the top of the second paragraph:
"The pie series can be customized with the following properties: LabelOffset, LabelTemplate, AngleRange, ShowLabels and RadiusFactor properties. LabelOffset determines how far from the center will the labels be positioned. "

I want to move my pie labels from the edge of the pie slices to somewhere between the center & the edge. I though that property was what I needed.
0
Accepted
Petar Marchev
Telerik team
answered on 21 Mar 2014, 09:35 AM
Hi Mitchell,

Thank you for this information : ) Indeed, there appears to be some mix up. I believe that this is due to the fact that there was a LabelOffset property in our old RadChart (smart labels). I have forwarded this to our support officers.

In the ChartView you need to use the LabelDefinitions collection. Add a new entry and set the Margin property. The Margin.Left is taken into consideration when arranging the labels. Do give it a try and let us know if you have any other questions.

Regards,
Petar Marchev
Telerik
 

Build cross-platform mobile apps using Visual Studio and .NET. Register for the online webinar on 03/27/2014, 11:00AM US ET.. Seats are limited.

 
Tags
ChartView
Asked by
Mitchell
Top achievements
Rank 1
Answers by
Petar Marchev
Telerik team
Mitchell
Top achievements
Rank 1
Share this question
or