   [.net] Wpf, Scrolling Graph and Performance
  Hi,I am looking for some design/graphics advice.  I have built a little graph in Wpf, which is a descendant of Canvas.  The graphs core design is that it scrolls from right to left, exactly like the CPU performance graph does in the Windows task manager.  I achieved this by running through the data points, drawing from left to right.  Each time graph is updated I essentially move one data point in, and draw a little from the left of the previous.  What this essentially means is that when I have enough data points to fill the actual graph visually, I run from the left position to the right position, pulling out the data points as I go.  I have to do this for every update.  So if the graph is visually 600 pixels wide, and the refresh rate is every 1 second, that involves drawing each line from left to right, every single time.I am wondering if there is a smarter approach to this type of problem. I knocked up the logic for this as it stands today, so I expect I am doing this completely wrong. This approach seems to be burning CPU time like nobodies business.Any advice?Thanks,D   
  Please do not cross post. I answered in the other thread.   