Initially the graph goes from -10 to 10 but i want that when the user scrolls right the values are evaluated and the graph "grows". Is there any listeners for that. I meant that when the user scrolls to the right then i add more points as for function, there is always a value of y for an x. The graph keep constructing itself when the user scrolls up down right or left.