BarWidthPercent and BarOverlapPercent

6 posts, 0 answers
  1. Grtjn
    Grtjn avatar
    129 posts
    Member since:
    Feb 2010

    Posted 08 Mar 2010 Link to this post

    How can I set these properties in my code-behind (c#)?

    Because I'm not able to set them in my .Xaml page:

    <

     

    Telerik_Windows_Controls:RadChart Margin="91,65,98,55" x:Name="RadChart1" d:LayoutOverrides="Width, Height"/>

    Hope someone can tell me, because I can't find it on the net...

    Gj

     

  2. Velin
    Admin
    Velin avatar
    391 posts

    Posted 10 Mar 2010 Link to this post

    Hello GJ DM,

    There is a property named ItemWidthPercent exposed by the ChartArea type which you can use to adjust the width of the bar items in percents.

    Greetings,
    Velin
    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.
  3. Grtjn
    Grtjn avatar
    129 posts
    Member since:
    Feb 2010

    Posted 10 Mar 2010 Link to this post

    Big thank you Velin.
    Works just fine!

    Gertjan
  4. Simon Wolters
    Simon Wolters avatar
    20 posts
    Member since:
    Mar 2010

    Posted 23 Apr 2010 Link to this post

    €: got it, nevermind ;)
  5. Sam
    Sam avatar
    7 posts
    Member since:
    Nov 2010

    Posted 04 Jan 2011 Link to this post

    ItemWidthPercent adjusts the width of the entire chart area, but what about bar overlap?  How do you set (either in XAML, style or code-behind) the BarOverlapPercent?  In other words, what if you want to have some space between each of the bars in a bar or stackedbar chart?

    Thanks
  6. Sia
    Admin
    Sia avatar
    766 posts

    Posted 06 Jan 2011 Link to this post

    Hi Sam Coffman,

    In Silverlight such property has not been exposed yet. It is most likely to be introduced with our next Service Pack and its name will be ItemOverlapPercent.

    Kind regards,
    Sia
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for Silverlight
Back to Top