Grinish, You can set the viewWindow min and max of both axes to the appropriate values to do your zooming. That's what happens internally. The tricky part is that you have to compute what the appropriate values should be, and unfortunately, we don't provide a function to make that simpler.
On Wed, Jul 15, 2015 at 10:18 PM, Grinish Nepal <[email protected]> wrote: > I need to get the zoom functionality out of the graph and have some custom > buttons to have the same functionality. How will I accomplish that. Is > there a function that I can call onclick to perform the operation of > zooming. > > THanks > Grinish > > -- > You received this message because you are subscribed to the Google Groups > "Google Visualization API" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to > [email protected]. > Visit this group at > http://groups.google.com/group/google-visualization-api. > For more options, visit https://groups.google.com/d/optout. > -- Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2> - 978-394-1058 [email protected] <[email protected]> 5CC, Cambridge MA [email protected] <[email protected]> 9 Juniper Ridge Road, Acton MA -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-visualization-api. For more options, visit https://groups.google.com/d/optout.
