Pre loader

Debug Output Warnings for broken bindings

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

1
0

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

Version
Latest
  • You must to post comments
Showing 0 results
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies