These are chat archives for oxyplot/oxyplot

Feb 2017
Feb 18 2017 10:32
Hello guys. I am getting the errors in WPF Oxyplot saying "Sequence contains no elements". It only affects the Design mode and the app works fine. Any ideas how to fix it ? It is a bit problematic during design.
Feb 18 2017 11:01
The problem is due to an unkwon datacontext
To fix it do it like this
In the usercontrol or window
D:DesignInstance and your datacontext
And then you set createable at design false
Look for the exact syntax
d:DataContext="{d:DesignInstance Type=local:MyView, IsDesignTimeCreatable=False}"
Add this and your error is gone
And your designer will know the properties in the intellisense