Styling WPF OxyPlot PlotViews in XAML
When setting up an OxyPlot plot view, you can either define the plot explicitly through various controls, or set it up through a binding to a PlotModel . As such, in the first case, the XAML for a plot of two LineSeries objects could look something like <oxy:Plot Title="Some plot"> <oxy:Plot.Axes> <oxy:LinearAxis Position="Left" /> <oxy:LinearAxis Position="Bottom" /> </oxy:Plot.Axes> <oxy:Plot.Series> <oxy:LineSeries ItemsSource="{Binding ActualSeriesData1}" DataFieldX="X" DataFieldY="Y"/> <oxy:LineSeries ItemsSource="{Binding ActualSeriesData2}" DataFieldX="X" DataFieldY="Y"/> </oxy:Plot