Ok, you can do something like that. One way would be to hook an event handler to a button and pass a boolean variable to the chart drawing function which dictates whether the chart should be drawn with the viewWindowMode and viewWindow options set to restrict the visible portion of the chart. See an example here: http://jsfiddle.net/rRn7S/
On Tuesday, February 28, 2012 6:38:52 AM UTC-5, Marcin wrote: > > 'dynamic' = a possibility to change the range of the y axis. > > So if you want to take a closer look on lines with smaller values, you > adjust y-axis to 0 - 100, > if you want inspect lines with higher values you set it to 0- 100000 > (loosing details on the smaller values). > This adjustment could be done by a button, scrollbar etc... > > On 27 Feb., 18:44, asgallant <[email protected]> wrote: > > In what sense do you mean 'dynamic'? > > > > You can set the vAxis.logScale option to true, which will make the > vertical > > axis a log scale, which *may* help you. It is not appropriate for all > > situations, though. > > > > > > > > > > > > > > > > On Monday, February 27, 2012 11:20:34 AM UTC-5, Marcin wrote: > > > > > Dear Sirs, > > > > > I am trying to visualize data with a widespread value range. > > > Currently, I use the line chart. Some lines fluctuate around 20000, > > > others around 100. As you might guess, the lines with smaller values > > > are barely visible. I do not want to normalize my absolute values. Is > > > there any way to implement a dynamic y-axis or access a zoom? Would > > > other chart types fit my purposes? > > > > > Regards, Marcin. -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-visualization-api/-/pcp-yF-2rIsJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
