Hi All
I am using google API visualization , functions are loading in IE9 , and
not shown in IE9
Please could you give a suggestion on this Issue
here is my code
<div class="graph" id="graph" style="margin-top:50px !important;">
<script type="text/javascript">
google.load('visualization', '1', {packages:
['<%=graphPkgType%>']});
//google.load('visualization', '1', {packages: ['corechart']});
var data;
function drawVisualization()
{
// Create and populate the data table.
data = new google.visualization.DataTable();
data.addColumn('string', 'Name');
data.addColumn('number', 'Salary');
data.addColumn('boolean', 'Full Time');
data.addRows(5);
data.setCell(0, 0, 'Lakshman');
data.setCell(0, 1, 10000);
data.setCell(0, 2, true);
data.setCell(1, 0, 'Sreenivas');
data.setCell(1, 1, 25000);
data.setCell(1, 2, true);
data.setCell(2, 0, 'Vaseem');
data.setCell(2, 1, 8000);
data.setCell(2, 2, false);
data.setCell(3, 0, 'saritha');
data.setCell(3, 1, 20000);
data.setCell(3, 2, true);
data.setCell(4, 0, 'Mei');
data.setCell(4, 1, 12000);
data.setCell(4, 2, false);
// Create and draw the visualization.
chart=new
google.visualization.<%=graphClass%>(document.getElementById('graph'));
var options = {
//width: 1500,
height: 700,
fontSize: 20,
legend: 'bottom',
isStacked: true,
allowHtml:false,
chartArea: {left: 80, top: 50},
titleX: 'Date', titleY: 'Page views',
title: '<%=keyDisplayName%>'
}
chart.draw(data, options);
}
google.setOnLoadCallback(drawVisualization);
</script>
</div>
Thanks
Lakshman
--
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-visualization-api/-/mJr4Z-sNbLMJ.
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.