Thanks, James. I have 2 charts. When the range of chart 1 changes, I
am getting the new range from chart 1 and then trying to set the range
of chart2 to match chart1.

I will try setting the range of chart2 with static dates as you
suggested.

On Dec 16, 9:19 am, James Dooley <[email protected]> wrote:
> I have it working in IE8 :)
>
> Are you sure that range is available?
> Also, I just noticed that you call the getVisibleChartRange first and
> then try to set the same range... why ?
>
> Try it with new Date(2010, 11, 2) , new Date(2010, 12, 3)
>
> assuming you have any data available on that range...
>
> Cheers, James
>
> On Dec 16, 3:14 pm, dp3 <[email protected]> wrote:
>
>
>
>
>
>
>
> > What is also strange is getVisibleChartRange works with the form tag
> > in IE8, but setVisibleChartRange does not.
>
> > On Dec 16, 1:25 am, ChartMan <[email protected]> wrote:
>
> > > Sorry,  no idea why the IE8 + form combination fails.
> > > On Dec 15, 2010 6:37 PM, "dp3" <[email protected]> wrote:
>
> > > > I am trying to sync to annotated timelines on the same page, so that
> > > > if the user changes the range of one chart, the other chart matches
> > > > the new range. I use this function:
>
> > > > google.visualization.events.addListener(chart1,'rangechange',function()
> > > > {
>
> > > > r1 = chart1.getVisibleChartRange();
> > > > chart2.setVisibleChartRange(r1.start,r1.end);
> > > > });
>
> > > > I manage this site in ASP.net, and it contains a <form> tag.
> > > > Essentially:
> > > > <form id="form1" runat="server" >
> > > > <div id='chart_div' style='width: 700px; height: 240px;'></div>
> > > > <div id='chart_div2' style='width: 700px; height: 240px;'></div>
> > > > </form>
>
> > > > The code works in all browsers, except IE 8. If I remove the form tag,
> > > > then IE 8 works. Any ideas to get this to work in IE 8 without
> > > > removing the form tag?
>
> > > > --
> > > > 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]<google-visualization-
> > >  api%[email protected]>
> > > .> For more options, visit this group at
>
> > >http://groups.google.com/group/google-visualization-api?hl=en.

-- 
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