using GDI+ to display moving graph
Posted on 2011-03-01
I'm developing an application that I will use with a Labjack which will display digital and analog input from several inputs and display to several graphs. Currently I have 4 fixed PictureBox controls that display a square wave loaded from a text file. I'm loading all the values in a List and then I calculate the lines and put them in an array of PointF to be used as a parameter for DrawLInes(). Now I want to simulate random input from the Labjack digital IO and display it as a moving graph. How can I move part of the graph over and write to the new section using GDI+?