<Window x:Class="BindingDemo.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="BindingDemo" Width="640"
        Height="480">
    <Grid>
        <oxy:Plot Title="Binding ItemsSource" Subtitle="{Binding Subtitle}">
            <oxy:Plot.Axes>
                <oxy:LinearAxis Position="Left"/>
                <oxy:LinearAxis Position="Bottom"/>
            </oxy:Plot.Axes>
            <oxy:Plot.Series>
                <oxy:LineSeries Title="Value" DataFieldX="Time"
                        DataFieldY="Value"
                        ItemsSource="{Binding Measurements}"
                        StrokeThickness="2" Color="Blue" />
                <oxy:LineSeries Title="Maximum" DataFieldX="Time"
                        DataFieldY="Maximum"
                        ItemsSource="{Binding Measurements}"
                        LineStyle="Dash" StrokeThickness="2"
                        Color="Red" />
                <oxy:LineSeries Title="Minimum" DataFieldX="Time"
                        DataFieldY="Minimum"
                        ItemsSource="{Binding Measurements}"
                        LineStyle="Dot" StrokeThickness="2"
                        Color="Green" />
            </oxy:Plot.Series>
        </oxy:Plot>
    </Grid>
</Window>
