The history and scroll functions can easily be implemented in a graph by keeping your data in a bigger array and only showing some of it in the graph and by using a slide control to choose which part of the array you want to display. I will try to play with this over the next few days and see if I can come up with something. I suggest you do the same. Hopefully one of us (or someone else) will come up with an answer.
Until now, every chart I remember using showed a constant length of time. If I needed to change this, I would change the format to floating, put 0 at the start, the number of seconds I want at the end and then change the format back to time. This is inconvenient, but at least it works during development.
___________________
Try to take over the world!