Pan is definitely not wrong. But in my experience the word’s most common use by far is for wide (left-right) viewing, as in panorama; the dictionaries I checked listed this horizontal usage first. That’s probably why I didn’t pick up on the description when looking for all-direction motion. As insurance for any others out there like me, perhaps consider “Pan the graph left-right and up-down”, of “Pan the graph in any direction”?
Then some other user can complain to you that the revised description is, technically, redundant. Send them to me and we’ll fight it out.