Pre loader

[c]Binding annotations with MVVM Observable collection not updating after OnLoad

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

Hi,
I have been adding annotations to a chart as per your example with a few modifications. My annotations collection is updated from the constructor and from an OnLoad handler but not after this.

Please could you have a look at the attached example. It appears that when elements are added from the constructor and OnLoad, OnLabelsSourceChanged is called but the annotationCollection is not updated because the ParentSurface is null. They are later updated by the call to OnParentSurfaceRendered. Later when another annotation is added using the Add button OnLabelsSourceChanged is not called, the chart can be updated however by double clicking which causes OnParentSurfaceRendered to be called.

Many Thanks
Dai

Attachments
  • 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?

  • Dai
    • Dai
    • 11 years ago
    Hi Andrew, Many thanks, obvious when you know the answer. Regards Dai
  • Andrew Burnett-Thompson
    No probs! Glad it's working for you now :) Andrew
  • You must to post comments
Showing 1 result
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