嗨,我有一个基本图表,它没有在 IE 8 或 9 中显示。在 IE 10 中工作。空间只是空白。这是代码:
var colors = ['#C02942', '#53777A', '#ECD078', '#542437', '#D95B43'];
var data = google.visualization.arrayToDataTable([['Month', 'Clicked','Delivered','Sent'],['12/11', 0,0,0],['1/12', 1,1,1],['2/12', 0,0,1],['3/12', 0,0,0],['4/12', 0,0,0],['5/12', 0,0,1],['6/12', 0,0,2],['7/12', 0,0,0],['8/12', 0,0,2],['9/12', 0,0,0],['10/12', 0,0,0],['11/12', 0,0,0],['12/12', 0,0,0],['1/13', 0,0,0],['2/13', 0,0,0],['3/13', 0,0,1],['4/13', 0,0,0],['5/13', 0,0,3],['6/13', 0,0,0]]);
var options = {
width: 650,
colors: colors,
chartArea: { left: 50, top: 20},
hAxis: {showTextEvery: 2},
isStacked: true
};
chart = new google.visualization.AreaChart(document.getElementById('chart_div'));
chart.draw(data, options);
TIA