c***@gmail.com
2016-08-26 14:14:44 UTC
It was brought to my attention today that the charts I had set up have not
been working since 8/23. At this point I'm not sure if there is some
technical issue going on (though I haven't seen anyone else post about it)
or if there was a code change or something broken by an update.
I did see a thread about changes to the loader library code and I tried to
implement that but it didn't help.
Does anybody see an issue with my code?
*Old Code:*
<html>
<html>
been working since 8/23. At this point I'm not sure if there is some
technical issue going on (though I haven't seen anyone else post about it)
or if there was a code change or something broken by an update.
I did see a thread about changes to the loader library code and I tried to
implement that but it didn't help.
Does anybody see an issue with my code?
*Old Code:*
<html>
<head>
<script type="text/javascript"
src="https://www.google.com/jsapi"></script>
<script type="text/javascript">
google.load("visualization", "1", {packages:["gauge"]});
google.setOnLoadCallback(drawChart);
function drawChart() { var data =
google.visualization.arrayToDataTable([ ['Label',
'Value'], ['Agrinomix',1443], ['CM25',],
['S3',1698], ['3B',], ['Long Rd',] ]);
1382, greenTo: 1625, redFrom: 800, redTo: 1137,
1625 }; var chart = new
google.visualization.Gauge(document.getElementById('chart_div'));
chart.draw(data, options); } </script>
</head>
<body> <div id="chart_div" style="width: 611px; height: 150px;"></div>
</body>
</html>
*New Code:*<script type="text/javascript"
src="https://www.google.com/jsapi"></script>
<script type="text/javascript">
google.load("visualization", "1", {packages:["gauge"]});
google.setOnLoadCallback(drawChart);
function drawChart() { var data =
google.visualization.arrayToDataTable([ ['Label',
'Value'], ['Agrinomix',1443], ['CM25',],
['S3',1698], ['3B',], ['Long Rd',] ]);
1382, greenTo: 1625, redFrom: 800, redTo: 1137,
1625 }; var chart = new
google.visualization.Gauge(document.getElementById('chart_div'));
chart.draw(data, options); } </script>
</head>
<body> <div id="chart_div" style="width: 611px; height: 150px;"></div>
</body>
</html>
<html>
<head>
<script type="text/javascript"
src="https://www.gstatic.com/charts/loader.js"></script>
<script type="text/javascript">
google.charts.load('current', {packages: ['gauge']});
google.charts.setOnLoadCallback(drawChart);
function drawChart() { var data =
google.visualization.arrayToDataTable([ ['Label',
'Value'], ['Agrinomix',1443], ['CM25',],
['S3',1698], ['3B',], ['Long Rd',] ]);
1382, greenTo: 1625, redFrom: 800, redTo: 1137,
1625 }; var chart = new
google.visualization.Gauge(document.getElementById('chart_div'));
chart.draw(data, options); } </script>
</head>
<body> <div id="chart_div" style="width: 611px; height: 150px;"></div>
</body>
</html>
<script type="text/javascript"
src="https://www.gstatic.com/charts/loader.js"></script>
<script type="text/javascript">
google.charts.load('current', {packages: ['gauge']});
google.charts.setOnLoadCallback(drawChart);
function drawChart() { var data =
google.visualization.arrayToDataTable([ ['Label',
'Value'], ['Agrinomix',1443], ['CM25',],
['S3',1698], ['3B',], ['Long Rd',] ]);
1382, greenTo: 1625, redFrom: 800, redTo: 1137,
1625 }; var chart = new
google.visualization.Gauge(document.getElementById('chart_div'));
chart.draw(data, options); } </script>
</head>
<body> <div id="chart_div" style="width: 611px; height: 150px;"></div>
</body>
</html>
--
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 google-visualization-api+***@googlegroups.com.
To post to this group, send email to google-visualization-***@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/6e77554d-ce6e-4dc9-bbc5-3383f765add6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
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 google-visualization-api+***@googlegroups.com.
To post to this group, send email to google-visualization-***@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/6e77554d-ce6e-4dc9-bbc5-3383f765add6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.