<Window
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"        
        xmlns:telerikChart="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Charting"
    xmlns:telerikCharting="clr-namespace:Telerik.Windows.Controls.Charting;assembly=Telerik.Windows.Controls.Charting"             
    xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
    x:Class="WpfApplication1.MainWindow"
        Title="MainWindow" Height="350" Width="525">
	<Window.Resources>
		<Style x:Key="ChartLegendStyle1" TargetType="{x:Type telerik:ChartLegend}">
			<Setter Property="Foreground" Value="Black"/>
			<Setter Property="Background">
				<Setter.Value>
					<LinearGradientBrush EndPoint="1.96,0.5" StartPoint="-0.96,0.5">
						<GradientStop Color="#FFB5B5B5"/>
						<GradientStop Color="#FFF0F0F0" Offset="0.5"/>
					</LinearGradientBrush>
				</Setter.Value>
			</Setter>
			<Setter Property="Padding" Value="10,10,10,5"/>
			<Setter Property="Margin" Value="0"/>
			<Setter Property="BorderBrush" Value="#FF848484"/>
			<Setter Property="BorderThickness" Value="5"/>
			<Setter Property="TitleFontWeight" Value="Bold"/>
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="{x:Type telerik:ChartLegend}">
						<Border BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}">
							<Grid Margin="{TemplateBinding Padding}">
								<Grid.RowDefinitions>
									<RowDefinition Height="Auto"/>
									<RowDefinition Height="*"/>
								</Grid.RowDefinitions>
								<ContentControl ContentTemplate="{TemplateBinding HeaderTemplate}" Content="{TemplateBinding Header}" Foreground="{TemplateBinding Foreground}" FontWeight="{TemplateBinding TitleFontWeight}"/>
								<ItemsPresenter Grid.Row="1"/>
							</Grid>
						</Border>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
			<Setter Property="ItemsPanel">
				<Setter.Value>
					<ItemsPanelTemplate>
						<telerik:RadWrapPanel IsItemsHost="True" Orientation="{Binding ItemsPanelOrientation}"/>
					</ItemsPanelTemplate>
				</Setter.Value>
			</Setter>
			<Setter Property="HeaderTemplate">
				<Setter.Value>
					<DataTemplate>
						<Grid>
                            <Grid.RowDefinitions>
                                <RowDefinition>                                    
                                </RowDefinition>
                                <RowDefinition>
                                </RowDefinition>
                            </Grid.RowDefinitions>
                            <CheckBox Content="Series1" x:Name="Series1"  Checked="CheckBox_Checked" Unchecked="Series1_Unchecked" Grid.Row="0" ></CheckBox>                            
                        </Grid>
					</DataTemplate>
				</Setter.Value>
			</Setter>
		</Style>
	</Window.Resources>
   
    <Grid x:Name="LayoutRoot"
       Background="White">
        <Grid.RowDefinitions>
            <RowDefinition Height="20">
            </RowDefinition>
            <RowDefinition Height="20">
            </RowDefinition>
            <RowDefinition>
            </RowDefinition>
        </Grid.RowDefinitions>
    
        <telerik:RadChart x:Name="radChart" Grid.Row="2">
            <telerik:RadChart.DefaultView>
                <telerik:ChartDefaultView>
                    <telerik:ChartDefaultView.ChartTitle>
                        <telerik:ChartTitle Content="Trade Data" />
                    </telerik:ChartDefaultView.ChartTitle>
                    <telerikCharting:ChartDefaultView.ChartLegend>
                        <telerikCharting:ChartLegend Style="{DynamicResource ChartLegendStyle1}">
                        </telerikCharting:ChartLegend>
                    </telerikCharting:ChartDefaultView.ChartLegend>
                </telerik:ChartDefaultView>
            </telerik:RadChart.DefaultView>        	
        </telerik:RadChart>
    </Grid>
</Window>
