It seems to be a similar problem to the one indicated in this thread:

http://groups.google.com.tw/group/google-visualization-api/browse_thread/thread/cbe55119c22ac45a/13b9cded405f2efb?show_docid=13b9cded405f2efb

There are some differences between the time format using
getVisibleChartRange() and setVisibleChartRange()
But can't quite explain yet why there is a date shift on the third
graph

tomas


On Jul 26, 7:32 pm, tomas <[email protected]> wrote:
> New strange stuff
> I've followed Chris suggestions and i ended up with this...
>
> www.ingcivil.uchile.cl/shm/sandpit/atltest.html
> (rewrote the code)
>
> basically it does this:
>
> var r1, r2, r3
>
> google.visualization.events.addListener(chart3,'ready', function(){
>     google.visualization.events.addListener
> (chart1,'rangechange',function(){
>        r1 = chart1.getVisibleChartRange();
>        chart2.setVisibleChartRange(r.start,r.end);
>        chart3.setVisibleChartRange(r.start,r.end);
>        r2 = chart2.getVisibleChartRange();
>        r3 = chart3.getVisibleChartRange();
>       // Print r1,r2,r3 start() and end() in HTML
>
>    });
>
> });
>
> any idea was is happing?
>
> Thanks
> tomas
>
> On Jul 26, 3:18 am, tomas <[email protected]> wrote:
>
> > Chris
>
> > Thanks for your answer. I get your idea  and I've seen your example,
> > only that when I change the first graph's range, all three of them
> > redraw. That's not precisely my objective. I would wish all three of
> > them simply coordinate. My problem is with the third graph that seems
> > to shift near 4 hours with the other graphs.
>
> > I'll try and implement your idea of displaying the dates from
> > getVisibleChartRange()
>
> > Tomas
>
> > On Jul 25, 10:34 am, chrissky <[email protected]> wrote:
>
> > > Hey,
>
> > > I created a new sample with three synchronized charts
>
> > >http://www.shufflepoint.com/blog/timeline-6-21/timeline-3charts-sync....
>
> > > Chris
>
> > > 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