I have tried everything but not working at all.
In my case x axis represents from 0 to 90 secs.(always). Y axis represents data which comes to by application as input based on a timer. I am using GL_LINE_STRIP when I finish till 90 secs the graphs draws great. When 90 secs finishes my xaxis becomes 0 again( which i want that way). so according to GL_LINE_STRIP it will connect the 90 value of x axis back to x zero value forming a loop. which i want to break.
I am using vectors for y axis values when y value reaches 90 elements I will delete the first element and append to the last of the vector array. this way my vector size remains at 90 elements always.
glVertex(x array,yarray);using GL_LINE_STRIP
can u Help my post are there in this forum regaring opengl graphs?