Move graph in the coordinate plane

I am working on designing a slide where the user can move a graph to different positions in the coordinate plane. I was hoping to use one slider to move the graph right and left and another to move it up and down. However I cannot seem to find a way to do this without creating a separate state for every point on the x-y plane. Any ideas?

2 Replies