Okay, here is the source code from the system.
<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 = google.visualization.arrayToDataTable([
['Task', 'Bots Caught'],
['Wait Script', 169],
['Text Removal', 18],
['Honeypot / Hidden Question', 0],
['Custom Question', 0],
['SFS Blacklist', 0],
['BotScout Blacklist', 0],
['FSpamlist Blacklist', 0]
]);
var options = {
title: 'Honeypot Blocker Results PieChart',
is3D: true,
backgroundColor: '#f8ce55',
titleTextStyle: {color: '#000000', fontSize: '32px'},
legendTextStyle: {color: '#000000', fontSize: '16px'},
colors: ['#00A209', '#486EFF', '#AB00BC', '#C30012',
'#D08E00', '#00C3B4', '#77D100'],
};
var chart = new
google.visualization.PieChart(document.getElementById('piechart_3d'));
chart.draw(data, options);
}
</script>
Then the div is called:
<div id="piechart_3d" style="width: 700px; height: 500px;"></div>
I don't see why it would be stating "a is not a function" instead of the
pie chart.
I also can't figure why this is happening on 2 of the 5 sites this is being
tested on
--
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 post to this group, send email to [email protected].
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/c91d2843-c9cb-417d-a092-e66d06edcbef%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.