开发者

Google Pie Chart not displaying Internet Explorer 8

开发者 https://www.devze.com 2023-04-11 07:57 出处:网络
I\'m using a Google Pie chart which displays as expected in Firefox but doesn\'t display in IE8 and gives the following error in the console:

I'm using a Google Pie chart which displays as expected in Firefox but doesn't display in IE8 and gives the following error in the console:

SCRIPT5022: Every row given must be either null or an array. 
format+en,default,corechart.I.js, line 开发者_JAVA百科202 character 63

I'm using a Google Line Chart on another page and this displays fine.

Appreciate any pointers.


Figured it out. Its because theres a trailing comma at the end of the last element of the array containing the data to populate the chart. Removing this comma gets rid of the error and the graph displays as expected.


I suggest you to install "google chrome frame". I fixed this after installed this.


Open IE and click the following link.
Link

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号