I am trying to test the Google Charts main page 
(https://developers.google.com/chart/) for compatibility in IE8, 7 and 6.

We have a Development Server set up that I am accessing using an app called 
CoRD (sourceforge), as I read on a forum that using the Developer tools in 
newer version of IE (9+) to impersonate an older version of IE may not 
render properly. (See that comment by Jeff Meadows here: 
http://stackoverflow.com/questions/15072215/google-chart-not-rendering-in-ie8).

So I do have native versions of IE6, 7 and 8 all individually running to 
try and test this. The page is completely broken in IE6 and serves so many 
errors that IE eventually just crashes and closes. In IE7 & 8 the page at 
least loads with some errors, and the graph is not displaying at all.

On Friday, December 14, 2012 1:20:04 PM UTC-5, Lin Dou wrote:
>
> I copied the sample code from google's column chart api, and create a test 
> html,
>
> <html>
>   <head>
>     <script type="text/javascript" 
> src="https://www.google.com/jsapi";></script>
>     <script type="text/javascript">
>       google.load("visualization", "1", {packages:["corechart"]});
>       google.setOnLoadCallback(drawChart);
>       function drawChart() {
>         var data = google.visualization.arrayToDataTable([
>           ['Year', 'Sales', 'Expenses'],
>           ['2004',  1000,      400],
>           ['2005',  1170,      460],
>           ['2006',  660,       1120],
>           ['2007',  1030,      540]
>         ]);
>
>         var options = {
>           title: 'Company Performance',
>           hAxis: {title: 'Year', titleTextStyle: {color: 'red'}}
>         };
>
>         var chart = new 
> google.visualization.ColumnChart(document.getElementById('chart_div'));
>         chart.draw(data, options);
>       }
>     </script>
>   </head>
>   <body>
>     <div id="chart_div" style="width: 900px; height: 500px;"></div>
>   </body>
> </html>
>
>
> The test html page doesn't display the column chart on IE8 (OS is windows 7), 
> but I can see the chart with this page 
> https://developers.google.com/chart/interactive/docs/gallery/columnchart on 
> IE8
>
> Can someone tell me why.
>
> Thanks
>
>
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to