How to implement a progress bar while chart is loading
Posted: Tue May 15, 2007 12:21 am
I have many points at time to plot on a chart. While TeeChart is processing these points I have an animated progress bar providing user feedback that application is not locked up but is still processing.
I have this animator working while we compute the point in an asssembly. The progress bar animation updates just fine. I want the animation to continue while we add the series to the TeeChart and it is working on displaying those series.
Unfortunately the timer that is updating the progress bar never gets a chance to call its "tick" event because TeeChart is using all the CPU cycles.
My timer's interval = 100
I am adding 2 point series's, and a line series totalling > 1,000,000.
Is there any sample code or techniques you can point me to implement a progress bar that will update using a timer while TeeChart loads large series' of data?
Thanks.
I have this animator working while we compute the point in an asssembly. The progress bar animation updates just fine. I want the animation to continue while we add the series to the TeeChart and it is working on displaying those series.
Unfortunately the timer that is updating the progress bar never gets a chance to call its "tick" event because TeeChart is using all the CPU cycles.
My timer's interval = 100
I am adding 2 point series's, and a line series totalling > 1,000,000.
Is there any sample code or techniques you can point me to implement a progress bar that will update using a timer while TeeChart loads large series' of data?
Thanks.