<UserControl
    x:Class="FlexChartExplorer.ImageExport"
    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">

    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="30" />
            <RowDefinition />
        </Grid.RowDefinitions>
        <StackPanel Orientation="Horizontal" Margin="10 0">
            <Button Content="New" Width="100" Click="Button_Click" />
            <Button Content="Save" Width="100" Margin="20 0" Click="OnSaveButtonClick" />
        </StackPanel>
        <Chart:C1FlexChart x:Name="flexChart" Grid.Row="1" ChartType="Scatter" BindingX="XVals" Binding="YVals" ToolTipContent="{}{y}">
            <Chart:Series x:Name="series" SymbolSize="15" />
        </Chart:C1FlexChart>
    </Grid>
</UserControl>
