My IE gives me this message (activeX error.png file) when trying to open my 
chart, I just need to click to unblock it, what can I do for it to never 
ask me this ? Code below:
<head>
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js
"></script>
<script type="text/javascript">
google.charts.load('current', {'packages':['corechart']});
google.charts.setOnLoadCallback(drawChart);
function drawChart() {
var data = new google.visualization.arrayToDataTable([
['Titulo','Valor Original'],
['3 A',3702.00],
['7 B',1994.25],
['10 C',586.65],
['17 D',6268.00],
['24 E',1412.80],
['25 F',1587.00]
]);
var options = {
title:''
};

Em quinta-feira, 13 de fevereiro de 2020 15:26:53 UTC-3, Ilya Shulim 
escreveu:
>
> I am experiencing an issue with displaying google charts on IE 11. Below 
> code works on Mozilla and Chrome but not on IE.
>
> <head>
>   <script src="https://www.gstatic.com/charts/loader.js";></script>
>   <script>
>     google.charts.load('current', {packages: ['corechart']});
>     google.charts.setOnLoadCallback(drawChart);
>
>     function drawChart() {
>       // Define the chart to be drawn.
>       var data = new google.visualization.DataTable();
>       data.addColumn('string', 'Element');
>       data.addColumn('number', 'Percentage');
>       data.addRows([
>         ['Nitrogen', 0.78],
>         ['Oxygen', 0.21],
>         ['Other', 0.01]
>       ]);
>
>       // Instantiate and draw the chart.
>       var chart = new 
> google.visualization.PieChart(document.getElementById('myPieChart'));
>       chart.draw(data, null);
>     }
>   </script>
> </head>
> <body>
>   <!-- Identify where the chart should be drawn. -->
>   <div id="myPieChart"/>
> </body>
>
> Can anyone suggest what could be the possible cause of this behavior? 
>
> Thanks in advance.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/0f8bc14b-aa6b-49b7-8631-32e0540eb355%40googlegroups.com.

Reply via email to