thanks for your quick reply. I tried your solution and in order to get it to work we must use OxyPlot.Wpf.LineSeries (because it a DependencyObject and that is required for DataBinding). I used the following code:
var ls = new OxyPlot.Wpf.LineSeries();
var b = new Binding();
b.Source = mySourceObject;
b.Path = new PropertyPath("Color");
b.Mode = BindingMode.TwoWay;
ls.SetBinding(OxyPlot.Wpf.Series.ColorProperty, b);
This code compiles perfectly but when I try to add the LineSeries to the model it won't compile: PlotModel model
model.Series.Add(ls)
I get an error telling me that "ls" is the wrong type. It is expecting the non-WPF LineSeries. I have looked for a WPF version of PlotModel but can't find any. Thanks for you help.