After updating to SciChart 3.1, I started getting the following binding error:
System.Windows.Data Error: 4 : Cannot find source for binding with reference ‘RelativeSource FindAncestor, AncestorType=’Abt.Controls.SciChart.Visuals.SciChartSurfaceBase’, AncestorLevel=’1”. BindingExpression:Path=MaxFrameRate; DataItem=null; target element is ‘HighSpeedRenderSurface’ (Name=”); target property is ‘MaxFramerate’ (type ‘Nullable`1’)
I’m not binding MaxFrameRate anywhere nor do I have a HighSpeedRenderSurface explicitly defined in my code, so I’m guessing this error is occurring somewhere in a SciChart control.
I have several SciChartSurface elements across different controls in my application. I tried setting a global style:
<Style TargetType="{x:Type s:SciChartSurfaceBase}">
<Setter Property="MaxFrameRate" Value="24"/>
</Style>
This had no effect on the binding error.
Any help would be appreciated since I think these errors are affecting the loading speed of my UI.
- Justin Sacks asked 9 years ago
- You must login to post comments
Hi Justin,
This was a bug caused by our code internally. Notice the property name is MaxFrameRate, but it has been bound to MaxFramerate.
This was fixed in v3.2 build 4404. Unfortunately there is no fix for it in v3.1.
Best regards,
Andrew
- Andrew Burnett-Thompson answered 9 years ago
- You must login to post comments
Hi Support Team,
this was my fault.
I recognized that I have a reference to an older version of SciChart in one of my assemblies.
I have removed this and the binding error is now vanished.
- mh270213 answered 9 years ago
- You must login to post comments
I am seeing this error in v3.31.0.5924. Please can you guys have a look?
Thanks
- Zetica Limited answered 9 years ago
-
Nope, still can't reproduce. Can you reproduce it and send a sample?
- You must login to post comments
I am considering applying server-side licensing for my javerScript application.
In the document below, there is a phrase “Our server-side licensing component is written in C++.”
(https://support.scichart.com/index.php?/Knowledgebase/Article/View/17256/42/)
However, there is only asp.net sample code on the provided github.
(https://github.com/ABTSoftware/SciChart.JS.Examples/tree/master/Sandbox/demo-dotnet-server-licensing)
I wonder if there is a sample code implemented in C++ for server-side licensing.
Can you provide c++ sample code?
Also, are there any examples to run on Ubuntu?
- Thad Thompson answered 9 years ago
- last edited 9 years ago
-
No-one has given us code or steps to reproduce yet. Out of 10+ reporters. We can't see it - we can't fix :)
-
Oh yeah! A REPRO! Investigating ...
-
... Potential fix in v3.3.3.6077 - get it here - abtsoftware-prd.cloudapp.net:81/deploy-feeds/ABTSoftware/SciChart/3.3.3.6077 Does it resolve the issue? We moved the binding to the OnLoaded handler of RenderSurfaceBase
- You must login to post comments
Hi,
I have the same binding error with the current version:
v3.2.3.5811 (12th Feb 2015)
??
Thank you for your answer.
- mh270213 answered 9 years ago
-
Hi there, we are unable to reproduce this binding error in v3.2.x of SciChart. Can you provide a code sample to reproduce?
- You must login to post comments
Please login first to submit.