We keep getting asked What’s the best practice way to suspend the SciChartSurface in a multi-pane stock chart demo.
We have multiple ways of doing this.
- You can call SuspendUpdates on a DataSeries
- You can lock the parent surface SyncRoot etc…
- You can call SuspendUpdates on the SciChartSurface instance
By far the most effective and thread-safe way to do this is to call SuspendUpdates directly on the SciChartSurface. But how to do this in a ViewModel?
- Andrew Burnett-Thompson asked 9 years ago
- last edited 9 years ago
- 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?
- Andrew Burnett-Thompson answered 9 years ago
- last edited 9 years ago
-
Hi Andrew, Is there any way possible to bind SciChart instance through DI to ViewModel. I’m kind of stuck in between DI(Dagger2) and SciChart objects in VM through ISuspendable. With data-binding in Fragment & VM with constructor argument of ISuspendable is not possible ahead of time. Please suggest. Regards, Praween
-
Hi Andrew, the above post is for WPF not android or Xamarin — Do you want to open a question in our Android or iOS forum for our tech team to take a look at? Click ‘ask’ at https://www.scichart.com/questions/
-
Wouldn’t it be easier to just have an attached property that can be bound to a view model which suspends updates if set to true? I know this doesn’t give the flexibility of having multiple disposable suspend locks, but that could be handled internally in the view model if really needed.
- You must login to post comments