<UserControl x:Class="FilterChart_CompositeFilterDescriptor.MainPage"
		xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
		xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
		xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
		xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
		xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
		mc:Ignorable="d" d:DesignWidth="640" d:DesignHeight="480">
    
    <Grid x:Name="LayoutRoot">
        <Grid.RowDefinitions>
            <RowDefinition Height="2*"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>
        <telerik:RadChart x:Name="RadChart1" ItemsSource="{Binding List}">
            <telerik:RadChart.SeriesMappings>
                <telerik:SeriesMapping LegendLabel="John Doe">
                    <telerik:ItemMapping FieldName="SampleValue" DataPointMember="YValue" />
                    <telerik:ItemMapping FieldName="Date" DataPointMember="XCategory" />
                </telerik:SeriesMapping>
            </telerik:RadChart.SeriesMappings>
            <telerik:RadChart.DefaultView>
                <telerik:ChartDefaultView>
                    <telerik:ChartDefaultView.ChartLegend>
                        <telerik:ChartLegend x:Name="legend" Visibility="Collapsed" />
                    </telerik:ChartDefaultView.ChartLegend>
                    <telerik:ChartDefaultView.ChartArea>
                        <telerik:ChartArea LegendName="legend">
                            <telerik:ChartArea.AxisY>
                                <telerik:AxisY ExtendDirection="Down"/>
                            </telerik:ChartArea.AxisY>
                        </telerik:ChartArea>
                    </telerik:ChartDefaultView.ChartArea>
                </telerik:ChartDefaultView>
            </telerik:RadChart.DefaultView>
        </telerik:RadChart>

        <telerik:RadGridView AutoGenerateColumns="True" Filtered="GridView1_Filtered" ItemsSource="{Binding List}"
                            Grid.Row="1"
                            Name="GridView1"
                            BorderThickness="0"
                            CanUserSortColumns="False"
                            IsFilteringAllowed="True"
                            ShowGroupPanel="False"
                            CanUserSelect="False"
                            RowIndicatorVisibility="Collapsed">
        </telerik:RadGridView>
    </Grid>
</UserControl>
