<?xml version="1.0" encoding="utf-8"?>
<UserControl x:Class="ChartExtended.Samples.Dynamic" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:c1="http://schemas.componentone.com/winfx/2006/xaml">
    <Grid x:Name="LayoutRoot">
    <Grid.ColumnDefinitions>
      <ColumnDefinition Width="230" />
      <ColumnDefinition />
    </Grid.ColumnDefinitions>
    <Border>
      <StackPanel>
        <CheckBox Content="Minimum" Checked="CheckBox_Checked" Unchecked="CheckBox_Unchecked" Height="20" VerticalAlignment="Center" Margin="10,10,0,0" />
        <CheckBox Content="Maximum" Checked="CheckBox_Checked" Unchecked="CheckBox_Unchecked" Height="20" VerticalAlignment="Center" Margin="10,5,0,0" />
        <CheckBox Content="Average" Checked="CheckBox_Checked" Unchecked="CheckBox_Unchecked" Height="20" VerticalAlignment="Center" Margin="10,5,0,0" />
        <Button x:Name="btnTimer" Content="Stop" Click="Button_Click" Margin="9,20,0,0" HorizontalAlignment="Left" Width="140" />
      </StackPanel>
    </Border>
    <Border Grid.Column="1">
      	<c1:C1Chart x:Name="chart" MaxHeight="200">
      		<c1:C1ChartLegend Foreground="#FFF0F8FE" />
    	</c1:C1Chart>
    </Border>
  </Grid>
</UserControl>