what you could try is, use the SetAxisRange function, along with the GetActiveGraphCursor (of course you will need a cursor on your graph). Just set the x axis range to zoom with the click of the cursor.
Also, if you did not want the cursor to be visible, you can make it transparent.
hope that helps.
Derek