What part are you having problems with? You can draw on any part of a form. Make it easy - create a group box to reserve the area you want to draw on. You can get the height and width of the widget, and scale and draw within that area. Remember that the coordinate system origin is at the upper, left corner of the widget, and extends right and down.
What do you propose to do, if time represents the x axis, when you get to the right edge?