<Page
    x:Class="SparklineSamples.MainSample"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:SparklineSamples"
    xmlns:c1="using:C1.Xaml.Sparkline"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">

    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="100" />
            <RowDefinition />
        </Grid.RowDefinitions>

        <StackPanel Orientation="Horizontal" VerticalAlignment="Center" Margin="10 0 0 0">
            <TextBlock Margin="0 2 2 2" Text="{Binding SparklineTypeTB_Text, Source={StaticResource SparklineSamplesLocalization}}" VerticalAlignment="Center"></TextBlock>
            <ComboBox Margin="2" Width="180" x:Name="sparklineType" SelectionChanged="sparklineType_SelectionChanged"
                      Foreground="Black"></ComboBox>
            <TextBlock Margin="10 2 2 2" Text="{Binding DisplayDateAxisTB_Text, Source={StaticResource SparklineSamplesLocalization}}" VerticalAlignment="Center"/>
            <CheckBox Margin="2" Width="130" x:Name="checkBox" Click="checkBox_Click"
                      Foreground="Black"/>
            <Button Margin="2" Content="{Binding NewDataBT_Content, Source={StaticResource SparklineSamplesLocalization}}" Click="Button_Click"/>
        </StackPanel>

        <Grid Grid.Row="1" Width="600" Height="400" Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
            <c1:C1Sparkline x:Name="sparkline" SeriesColor="#FF88BDE6">
            </c1:C1Sparkline>
        </Grid>
    </Grid>
</Page>