Sunday, 29 September 2013

How to get the actual vAxis max value of Google Chart API?

How to get the actual vAxis max value of Google Chart API?

I have two LineChart, each has a rangeFilter (like the one here
https://code.google.com/apis/ajax/playground/?type=visualization#chartrangefilter_control)
I want to synchronize the scale of the two chart. That is, when one chart
changed the range of view, it will change vAxis max value to suite the
maximum data in that range, and I want the other chart change scale to the
same value.
I've no idea how I can get the vAxis.viewWindow.max in realtime. Any help
would be appreciated.

No comments:

Post a Comment