I kind of figured that I was being confusing. I appreciate you all for tolerating my ignorance.
My goal is to create a string line program to graph where Trains go based on station times (X coordinate) and Train Stations (Y coordinate). So Im developing it on a screen that is 1024 x 768. The form that I am creating, is dynamically created based on our database which stores all of the train stations (Y) and all of the station times which each train stops at (X). For Testing Purposes Im using a 2 dimensional array to simulate the data that needs to be stored. From there Im translating the arrival times of the trains into points based on how the coinciding labels of times as well as train stations. Because I have so many times (24 hour clock each spaced 60 pixels apart) the screen is larger than 1024x768 so it needs a scroll bar. When I draw the line, it works perfectly (thanks to those above for the info). However, when I scroll right, the line redraws itself twice or multiple times depending on how far I scroll. What I want to accomplish is to draw the line so that it coincides with its corresponding time, but when I scroll for it to dissappear so that I can see the other times and other lines. When I scroll back to it, I would like to see it back in its original place.
Currently the line that Ive drawn keeps drawing across the screen so I get a flag-like picture, which disappears when I scroll back to it. What do you suggest would be the best way because Ive never had to do graphics like this before?