As far as I understand you want to show a 10s interval starting from a value that depends on the time ( and some other stuff I didn't understand ) - similar to the cpuplot example.
Then all you need to do is to increment the scales by one each second ( using setAxisScale(t, t +10.0, ...).
Uwe
Bookmarks