Can't find PieSeries.LabelOffset property

4 posts, 1 answers
  1. Mitchell
    Mitchell avatar
    45 posts
    Member since:
    Mar 2013

    Posted 16 Mar 2014 Link to this post

    Is that a new property for the Q1, 2014 release? 
    Thanks - Mitch
  2. Petar Marchev
    Admin
    Petar Marchev avatar
    968 posts

    Posted 19 Mar 2014 Link to this post

    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.

     
  3. UI for WPF is Visual Studio 2017 Ready
  4. Mitchell
    Mitchell avatar
    45 posts
    Member since:
    Mar 2013

    Posted 19 Mar 2014 in reply to Petar Marchev Link to this post

    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.
  5. Answer
    Petar Marchev
    Admin
    Petar Marchev avatar
    968 posts

    Posted 21 Mar 2014 Link to this post

    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.

     
Back to Top