Hi, With the code provided below, I'm getting an "Invalid Argument" error with IE7... It works fine with firefox and safari so I'm having trouble figuring out the issue... any suggestions? Thanks...
<script type="text/javascript" src="http://www.google.com/jsapi"></ script> <script type="text/javascript"> google.load("visualization", "1", {packages:["corechart"]}); google.setOnLoadCallback(drawChart1); function drawChart1() { var data1 = new google.visualization.DataTable(); data1.addColumn('string', 'Question'); data1.addColumn('number', 'Correct %'); data1.addRows(10); data1.setValue(0, 0, '1'); data1.setValue(0, 1, 58); data1.setValue(1, 0, '2'); data1.setValue(1, 1, 8); data1.setValue(2, 0, '3'); data1.setValue(2, 1, 58); data1.setValue(3, 0, '4'); data1.setValue(3, 1, 42); data1.setValue(4, 0, '5'); data1.setValue(4, 1, 67); data1.setValue(5, 0, '6'); data1.setValue(5, 1, 45); data1.setValue(6, 0, '7'); data1.setValue(6, 1, 91); data1.setValue(7, 0, '8'); data1.setValue(7, 1, 73); data1.setValue(8, 0, '9'); data1.setValue(8, 1, 91); data1.setValue(9, 0, '10'); data1.setValue(9, 1, 18); var chart1 = new google.visualization.BarChart(document.getElementById('chart_div')); chart1.draw(data1, {height: 400, title: 'Question Performance', vAxis: {title: 'Question', titleColor: 'red'}, hAxis: {maxValue: 100, minValue: 0} }); } </script> <div id="chart_div"></div> -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. 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.
