<Window x:Class="ScatterErrorSeriesDemo.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:oxy="clr-namespace:OxyPlot.Wpf;assembly=OxyPlot.Wpf" Title="BarSeriesDemo" Height="480" Width="640">
    <TabControl>
        <TabItem Header="ItemsSource (reflection)">
            <oxy:Plot Title="ScatterErrorSeriesDemo" Subtitle="Binding to an items source and specifying data fields">
                <oxy:Plot.Axes>
                    <oxy:LinearAxis Position="Bottom"/>
                    <oxy:LinearAxis Position="Left"/>
                </oxy:Plot.Axes>
                <oxy:Plot.Series>
                    <oxy:ScatterErrorSeries ItemsSource="{Binding Points}" DataFieldX="V1" DataFieldY="V2" DataFieldErrorX="E1" DataFieldErrorY="E2"/>
                </oxy:Plot.Series>
            </oxy:Plot>
        </TabItem>
        <TabItem Header="ItemsSource (List{ScatterErrorPoint})">
            <oxy:Plot Title="ScatterErrorSeriesDemo" Subtitle="Binding to a List{ScatterErrorPoint}">
                <oxy:Plot.Axes>
                    <oxy:LinearAxis Position="Bottom"/>
                    <oxy:LinearAxis Position="Left"/>
                </oxy:Plot.Axes>
                <oxy:Plot.Series>
                    <oxy:ScatterErrorSeries ItemsSource="{Binding PointList}" />
                </oxy:Plot.Series>
            </oxy:Plot>
        </TabItem>
        <TabItem Header="ItemsSource (ScatterErrorPoint[])">
            <oxy:Plot Title="ScatterErrorSeriesDemo" Subtitle="Binding to an array of ScatterErrorPoint">
                <oxy:Plot.Axes>
                    <oxy:LinearAxis Position="Bottom"/>
                    <oxy:LinearAxis Position="Left"/>
                </oxy:Plot.Axes>
                <oxy:Plot.Series>
                    <oxy:ScatterErrorSeries ItemsSource="{Binding PointArray}" />
                </oxy:Plot.Series>
            </oxy:Plot>
        </TabItem>
    </TabControl>
</Window>
