"OxyPlot.Wpf.LineSeries" does not have "BrokenLineXXX" properties

Oystein Bjorke 10 years ago 0
This discussion was imported from CodePlex

zhlei616 wrote at 2013-10-02 23:46:

Hi,
I want to display broken lines in my WPF app. However I found that the "OxyPlot.Wpf.LineSeries" is different with "OxyPlot.Series.LineSeries".
The "BrokenLineXXX" properties are only included in "OxyPlot.Series.LineSeries", how can I display the broken lines in WPF LineSeries?

Thanks,
Larry

everytimer wrote at 2013-10-03 09:21:

I don't quite understand how are you implementing that LineSeries (directly in XAML maybe?). You can use the OxyPlot version in your model (bound to your plot in XAML). The Wpf version does not include many of general OxyPlot features but you still be able to access them this way. Good luck

objo wrote at 2013-10-03 19:34:

I would like to automate the generation of the Wpf series/axis/annotation classes, but this is not done yet.
I have added the properties you were missing!

zhlei616 wrote at 2013-10-04 00:49:

everytimer wrote:
I don't quite understand how are you implementing that LineSeries (directly in XAML maybe?). You can use the OxyPlot version in your model (bound to your plot in XAML). The Wpf version does not include many of general OxyPlot features but you still be able to access them this way. Good luck
Yes, you're right, I implemented it in XAML directly.
Thanks for your anwser, I got it, I'll use PlotModel to implement it.

zhlei616 wrote at 2013-10-04 00:49:

objo wrote:
I would like to automate the generation of the Wpf series/axis/annotation classes, but this is not done yet.
I have added the properties you were missing!
Thanks objo!