Hi All,
I have changed my code as below using the Core Charts package to make
visualizations work in IE 9 .
<apex:outputPanel id="chart_div">
<script type="text/javascript"
src="https://www.google.com/jsapi"></script>
<script type="text/javascript">
google.load("visualization", "1", {packages: ["corechart"]});
google.setOnLoadCallback(drawLineChart);
function drawLineChart() {
var data = new google.visualization.DataTable( eval(
'({!jsondata})' ) );
var chart = new google.visualization.LineChart(
document.getElementById('{!$Component.chart_div}'));
chart.draw(data, {width: {!width}, height: {!height},
axisColor: '{!axisColor}',
axisBackgroundColor:
'{!axisBackgroundColor}',
backgroundColor: '{!backgroundColor}',
borderColor: '{!borderColor}',
enableTooltip: {!enableTooltip},
focusBorderColor: '{!focusBorderColor}',
legend: '{!legend}',
legendBackgroundColor:
'{!legendBackgroundColor}',
legendTextColor: '{!legendTextColor}',
lineSize: {!lineSize},
pointSize: {!pointSize},
reverseAxis: {!reverseAxis},
showCategories: {!showCategories},
smoothLine: {!smoothLine},
title: '{!title}',
titleX: '{!titleX}',
titleY: '{!titleY}',
titleColor: '{!titleColor}'});
}
</script>
</apex:outputPanel>
But my charts have gone invisible on IE9, Mozilla Firefox (previously
working). Chrome (previously working).
Previously the packages were "linechart" "columnchart" specifically.
Please help me resolve the same, its a critical requirement.
Warm Regards,
Sushupsi
--
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/-/nGDSH7mNYDwJ.
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.