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.
