Hey,
I ran your sample. What I observe is that just clicking on the range
control of the first
chart fires the event, and like you said makes the third chart scroll.
I'd suggest getting a local
variable for range, and then printing out its value to an html
element. You can see some code for this in my ATL sample:
http://blog.shufflepoint.com/2009/07/feeding-the-google-annotated-timeline-gadget-from-a-gaql-query.html


Chris

google.visualization.events.addListener(
   chart1,
   'rangechange',
   function() {
     var range = chart1.getVisibleChartRange();
     // TODO: write out value to an html element in page
     chart2.setVisibleChartRange(r.start,r.end);
     chart3.setVisibleChartRange(r.start,r.end);
   }
);




On Jul 24, 4:41 pm, tomas <[email protected]> wrote:
> I have 3 ATL graphs on a page, each the first graph activates
> 'rangechange' listener, the other 2 graphs coordinate with the first,
>
> something like this
>
> google.visualization.events.addListener(chart1,'rangechange',function()
> {               chart2.setVisibleChartRange(chart1.getVisibleChartRange
> ().start,chart1.getVisibleChartRange().end);
> chart3.setVisibleChartRange(chart1.getVisibleChartRange
> ().start,chart1.getVisibleChartRange().end);
>         });
>
> my problem is that the third graph has a shift of some hours
>
> you can see my test athttp://www.ingcivil.uchile.cl/shm/sandpit/atltest.html
>
> I have the idea that this didn't happen before the last update
>
> has someone had the same problem?
>
> thanks
> tomas
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to