I am using IE9 with Windows 7, after I use F12 to change document mode to IE8 standards, the chart won't display.
On Monday, December 17, 2012 1:22:50 PM UTC-5, asgallant wrote: > > I opened that in IE 8 and it works just fine for me. I have no idea why > it wouldn't work for any of you. > > On Monday, December 17, 2012 11:30:44 AM UTC-5, Lin Dou wrote: >> >> I attached the test html with the sample code, IE8 standards shows blank. >> >> On Monday, December 17, 2012 11:05:29 AM UTC-5, asgallant wrote: >>> >>> Could one of you who has seen the problem post an HTML file that >>> exhibits the problem (attach the file please, don't copy the source code >>> into a post)? I will download it and take a look. >>> >>> On Monday, December 17, 2012 10:24:15 AM UTC-5, Lin Dou wrote: >>>> >>>> It works on IE 7 and IE 9, but IE 8 shows the blank page. >>>> >>>> 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 view this discussion on the web visit https://groups.google.com/d/msg/google-visualization-api/-/MHgX9kMJdBEJ. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.