I have rendered some charts with the forceIframe attribute set to false, so 
the chart is rendered as SVG and I can add a listener whenever that SVG is 
clicked.  I do that because with the Iframe there is no way that I can 
listen for a click on all the chart (not just the elements) container.

However, when trying to use this attribute and rendering the charts on IE8, 
the chart is rendered within an Iframe, and therefore when I do this:

google.visualization.events.addListener(chart, 'ready', function() {
    
document.getElementById('location_chart').getElementsByTagName('svg')[0].onclick
 
= function() {
      drawCenteredChart();
    };
  });

It breaks, because there is no SVG element.  So my question is:  What would 
be a good solution for this?  Why is not rendering the SVG?

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-visualization-api/-/51u7abmu9cwJ.
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