Hey
why do i need to use SuspendUpdates when i can append an array of data?
Thanks!
- Jan Eckhardt asked 11 years ago
- last edited 9 years ago
- You must login to post comments
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
- Andrew Burnett-Thompson answered 11 years ago
-
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 login to post comments
Please login first to submit.