So we tried to specifiy these in a static resource, e.g.
Code: Select all
<UserControl.Resources>
<lcusb:LineStyle Color="Black" Pattern="Dash" x:Key="CursorLineStyle"/>
</UserControl.Resources>
Code: Select all
<lcusb:ConstantLine LineStyle="{StaticResource CursorLineStyle}"/>
...
<lcusb:LineSeriesCursor LineStyle="{StaticResource CursorLineStyle}"/>
"Chart error Warning: Warning, Chart objects parent changed. This could indicate sharing chart's object between multiple parents, and that is not supported - Parent type changed from ConstantLine to LineSeriesCursor"
Is this scenario not supported? Do we need to copy/paste the definitions all over - some of them are much more complex than this?