SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components

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.