0
Under review
LineAnnotation - Set Default Style
I tried to set a default style for "LineAnnotation" class, so that all plot in my solution would have the same "Color" and "LineStyle", but when i start the application it gives me an error. I Have for other classes and it works perfectly, like for instance "PointAnnotation".
Library Include:
xmlns:oxy="http://oxyplot.org/wpf"
Code Sample:
<Style TargetType="oxy:LineAnnotation">
<Setter Property="LineStyle" Value="Dash"/>
<Setter Property="Color" Value="Red"/>
</Style>
Error:
'Set property 'System.Windows.Setter.Property' threw an exception.'
Thanks in advance
Customer support service by UserEcho
Thanks for the bug report. I have created https://github.com/oxyplot/oxyplot/issues/645 and assigned to myself. There is an easy fix, I think.
I have created a PR, can hopefully merge soon