I have a chart that uses datapoint selection on an XyScatterRenderableSeries. This series is defined as follows:
<s:XyScatterRenderableSeries DataSeries="{Binding ChartData.SinglePointUnavailableResources}"
Stroke="CornflowerBlue"
StrokeThickness="4"
modifiers:FilteringLegendModifier.IncludeSeries="False">
<s:XyScatterRenderableSeries.PointMarker>
<s:EllipsePointMarker Fill="CornflowerBlue" Width="4" Height="4"/>
</s:XyScatterRenderableSeries.PointMarker>
<s:XyScatterRenderableSeries.SelectedPointMarker>
<s:EllipsePointMarker Fill="Yellow" Width="13" Height="13"/>
</s:XyScatterRenderableSeries.SelectedPointMarker>
</s:XyScatterRenderableSeries>
This works as expected, however I am getting broken binding warnings in my debug output window as follows:
System.Windows.Data Warning: 4 : Cannot find source for binding with reference ‘RelativeSource FindAncestor, AncestorType=’SciChart.Charting.Visuals.RenderableSeries.BaseRenderableSeries’, AncestorLevel=’1”. BindingExpression:Path=Opacity; DataItem=null; target element is ‘EllipsePointMarker’ (Name=”); target property is ‘Opacity’ (type ‘Double’)
System.Windows.Data Warning: 4 : Cannot find source for binding with reference ‘RelativeSource FindAncestor, AncestorType=’SciChart.Charting.Visuals.RenderableSeries.BaseRenderableSeries’, AncestorLevel=’1”. BindingExpression:Path=Stroke; DataItem=null; target element is ‘EllipsePointMarker’ (Name=”); target property is ‘Fill’ (type ‘Color’)
System.Windows.Data Warning: 4 : Cannot find source for binding with reference ‘RelativeSource FindAncestor, AncestorType=’SciChart.Charting.Visuals.RenderableSeries.BaseRenderableSeries’, AncestorLevel=’1”. BindingExpression:Path=Stroke; DataItem=null; target element is ‘EllipsePointMarker’ (Name=”); target property is ‘Stroke’ (type ‘Color’)
System.Windows.Data Warning: 4 : Cannot find source for binding with reference ‘RelativeSource FindAncestor, AncestorType=’SciChart.Charting.Visuals.RenderableSeries.BaseRenderableSeries’, AncestorLevel=’1”. BindingExpression:Path=AntiAliasing; DataItem=null; target element is ‘EllipsePointMarker’ (Name=”); target property is ‘AntiAliasing’ (type ‘Boolean’)
You get the same warnings in your “PointMarkers Selection” sample.
They seem to be internal to scichart. I realise this doesn’t effect the functionality, but we generally try and avoid these in our codebase if possible, so ones that do occur are easily spotted and any potential bugs can be identified early.
Is there any way to prevent these warnings coming from scichart?
thanks
Bill
- Bill Dines asked 7 years ago
- You must login to post comments
Please login first to submit.