Pre loader

Stop SciChart from rendering

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!

In our application we are using several instances of SciChart, but only a few are visible at a time. Still, it seems that all of them are being rendered (seen using a performance profiler when no charts are visible). I’ve tried calling SuspendUpdates on the data set to prevent redraws, but it doesn’t seem to have any effect.

How can I stop SciChart from rendering until the view containing the chart is visible?

(Currently using SciChart 1.7.1 for .Net 4.0)

Regards,
Bjørn Terje Svennes

  • You must to post comments
0
0

Hi there,

SuspendUpdates freezes redrawing until the returned IUpdateSuspender is disposed. It should freeze not only drawing but all updates such as resizing etc…

Other than that I can only suggest removing the DataSeriesSet temporarily from the chart, then any updates will just be ignored until you reattach the set.

Hope this helps!
Andrew

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

  • You must to post comments
Showing 2 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