How can I set these properties in my code-behind (c#)?
Because I'm not able to set them in my .Xaml page:
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
5 Answers, 1 is accepted
0
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.
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.
0
Grtjn
Top achievements
Rank 1
answered on 10 Mar 2010, 02:16 PM
Big thank you Velin.
Works just fine!
Gertjan
Works just fine!
Gertjan
0
Simon Wolters
Top achievements
Rank 1
answered on 23 Apr 2010, 04:53 PM
€: got it, nevermind ;)
0
Sam
Top achievements
Rank 1
answered on 04 Jan 2011, 05:37 PM
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
Thanks
0
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
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