Google Visualization Resolution IE8 Rejected

I have a google charting solution that works in most browsers except IE8. When I move the mouse over the chart, I get an error permission deniedfrom the Google script visualization API (line 83, char 16).

The script in question contains the following: http://www.google.com/uds/api/visualization/1.0/c3581c99759b4a64cb69ca21ab634266/format+en_GB,default+en_GB,ui+en_GB,corechart+en_GB.I.js

Here is a screenshot of IE8 error: http://screencast.com/t/Ccyqfmuv

To be clear, the chart is displayed correctly, and an error occurs only when the chart freezes.

I tested in IE9 / 10 and everything is fine. I also tested at http://www.browserstack.com/ in case some odd local multiple IE happens.

Any suggestions on what this could be?

+4
source share
1 answer

see if the following fix works:

function drawChart() {
   var __instance__ = arguments.callee;
   var data = google.visualization.arrayToDataTable(<your data here>);
   var chartCnt = document.getElementById('chart-container');

   !__instance__.testChart &&
       (__instance__.testChart = new google.visualization.BarChart(chartCnt));

    __instance__.testChart.clearChart();
    __instance__.testChart.draw(data, { width:600, height:400 });
 }

ref: https://groups.google.com/forum/#!topic/google-visualization-api/QoCPFv1tKkQ

0
source

All Articles