Posted 29 Aug 2010 Link to this post
<
UserControl
xmlns
=
"http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x
"http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:telerik
"http://schemas.telerik.com/2008/xaml/presentation"
xmlns:d
"http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc
"http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable
"d"
x:Class
"SilverlightApplication1.MainPage"
Width
"640"
Height
"480"
>
Grid
x:Name
"LayoutRoot"
Background
"White"
DataContext
"{Binding Source={StaticResource SampleDataSource}}"
telerik:RadChart
Content
"RadChart"
ItemsSource
"{Binding Path=Collection,Mode=OneWay}"
telerik:RadChart.SeriesMappings
telerik:SeriesMapping
telerik:SeriesMapping.ItemMappings
telerik:ItemMapping
DataPointMember
"XCategory"
FieldName
"Name"
/>
"YValue"
"Value"
</
telerik:RadChart.DefaultView
telerik:ChartDefaultView
telerik:ChartDefaultView.ChartArea
telerik:ChartArea
telerik:ChartArea.AxisX
telerik:AxisX
AutoRange
"True"
LabelRotationAngle
"45"
Posted 01 Sep 2010 Link to this post