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].
For more options, visit this group at
http://groups.google.com/group/google-visualization-api?hl=en.