Pre loader

Why do I need SuspendUpdates when Appending data?

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

Hey

why do i need to use SuspendUpdates when i can append an array of data?

Thanks!

  • You must to post comments
0
0

Hello, you don’t need to suspend updates, but it helps in some scenarios.

For instance, if you have 3 dataseries all Appending, and you call SuspendUpdates on one, it will freeze the parent chart and you will only get one redraw.

We use this technique to throttle re-drawing when appending lots of data.

You are right to Append using array though: this method is about 10x faster than appending point by point.

Best regards,
Andrew

  • Jan Eckhardt
    Thanks! Funny, i read the Array stuff just 15 min after my post in the documentation with other very interesting tips. My app always append only one series at the same time. So i guess it doesn't matter if i use suspendUpdates even i append a lot of data. But to be sure i will use it.
  • 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