Pre loader

MaxFrameRate Binding Error

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

0
0

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.

  • You must to post comments
1
0

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

  • You must to post comments
0
0

Hi,

I have the same binding error with the current version:

v3.2.3.5811 (12th Feb 2015)

??

Thank you for your answer.

  • Andrew Burnett-Thompson
    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 to post comments
1
0

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.

  • You must to post comments
0
0

I am seeing this error in v3.31.0.5924. Please can you guys have a look?

Thanks

  • You must to post comments
0
0

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?

  • Andrew Burnett-Thompson
    No-one has given us code or steps to reproduce yet. Out of 10+ reporters. We can't see it - we can't fix :)
  • Andrew Burnett-Thompson
    Oh yeah! A REPRO! Investigating ...
  • Andrew Burnett-Thompson
    ... 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 to post comments
Showing 5 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