<UserControl
    x:Class="ChartSamples.DateAxis"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:ChartSamples"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:c1="using:C1.Xaml.Chart"
    mc:Ignorable="d"
   >
    <Grid Margin="16">
        <Grid.RowDefinitions>
            <RowDefinition  Height="Auto"/>
            <RowDefinition />
        </Grid.RowDefinitions>
        <c1:C1Chart Name="chart" Grid.Row="1"/>

        <StackPanel  Orientation="Horizontal" Margin="8,8,8,8" VerticalAlignment="Center">
            <RadioButton Margin="4" Content="None"  Checked="RadioButton_Checked" />
            <RadioButton Margin="4" Content="Week" Checked="RadioButton_Checked"/>
            <RadioButton x:Name="btnMonth" Margin="4" Content="Month" Checked="RadioButton_Checked"/>
            <RadioButton Margin="4" Content="Quarter" Checked="RadioButton_Checked"/>
            <RadioButton Margin="4" Content="Year" Checked="RadioButton_Checked"/>
            <StackPanel Name="spAggregation" Orientation="Horizontal">
                <TextBlock Margin="8,4,2,4" Text="Aggregation:" FontSize="15" VerticalAlignment="Center" />
                <ComboBox Margin="4" Name="cbAggregation" Width="120"/>
            </StackPanel>
        </StackPanel>

    </Grid>
</UserControl>
