<UserControl
    x:Class="ChartSamples.Dynamic"
    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"
    d:DesignHeight="300"
    d:DesignWidth="400">
    
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition />
        </Grid.RowDefinitions>
        <Border Margin="10,0,0,10">
            <StackPanel Orientation="Horizontal" >
                <Button x:Name="btnTimer" Content="Stop" Height="32" VerticalAlignment="Center" Click="Button_Click" HorizontalAlignment="Center" Width="140" Padding="3,1" />
            </StackPanel>
        </Border>
        <Border Grid.Row="1" MaxHeight="300">
            <c1:C1Chart x:Name="chart"  Palette="Civic" >
                <c1:C1ChartLegend />
            </c1:C1Chart>
        </Border>

    </Grid>
</UserControl>
