Hi everyone,
i know that this has been previously discussed in the form. I'll start by explaining my requirement.
I have drawn 4 plots( each with approx 20000 points) on the canvas. Now i am calling a timer function in which i am reading data in the real time and moving a vertical Bar along with the label to show the instantaneous value of the vertical bar. For this i am doing a replot() after every movement of the vertical bar in the timer function. The plots can also be zoomed. Now i have noticed that speed of the vertical bar is slow when there are 4 plots in the canvas compared to when there is one plot. And i know that this behavior is because replot() function will plot all the points in the canvas every time it is called.
I have gone through some previous posts and found that pixmap caching, bounding rect, etc may be used to improve the performance. However i am new to this and don't know as how to implement them. can somebody help me in this case?
Also is there any example or similar application which can be shared ?
Regards
Raghav
Bookmarks