<UserControl
    x:Class="FlexChartExplorer.HitTest"
    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:Chart="http://schemas.componentone.com/winfx/2006/xaml"
    mc:Ignorable="d">

    <Grid>
        <Grid.Resources>
            <Chart:ChartStyle x:Key="titleFont" FontFamily="GenericMonospace" FontSize="20"></Chart:ChartStyle>
        </Grid.Resources>
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition Height="100" />
        </Grid.RowDefinitions>
        <Chart:C1FlexChart Footer="Chart Footer"
                         Header="Chart Header"
                         HeaderStyle="{StaticResource titleFont}" FooterStyle="{StaticResource titleFont}" 
                         Binding="YVals" BindingX="XVals" ChartType="SplineSymbols" x:Name="flexChart"
                         MouseLeftButtonDown="flexChart_MouseLeftButtonDown"
                         MouseMove="flexChart_MouseMove">
            <Chart:Series x:Name="series0" SeriesName="Series 0"/>
            <Chart:Series x:Name="series1" SeriesName="Series 1" />
        </Chart:C1FlexChart>
        <StackPanel Grid.Row="1" Orientation="Horizontal" Margin="20">
            <TextBlock x:Name="tbPosition1" Width="200"></TextBlock>
            <TextBlock x:Name="tbPosition2" Width="200" Margin="30 0"></TextBlock>
        </StackPanel>
    </Grid>
</UserControl>
