我把总和数据放在我的图表谷歌区域图代码谷歌图表中
google.setOnLoadCallback(talk);
function talk() {
var data = google.visualization.arrayToDataTable([<?=$talks ?>]);
var options = {
title: 'Nb De J\'aime',
hAxis: {title: 'Jours', titleTextStyle: {color: '#333'}},
vAxis: {minValue: 0},
pointSize: 10
};
var chart = new google.visualization.AreaChart(document.getElementById('parle'));
chart.draw(data, options);
和
$talks=['01',422],['02',440],['03',477],['04',523],['05',565],['06',609],['07',651],['08',708],['09',747],['10',759],['11',793],['12',860],['13',975],['14',1118],['15',1317],['16',1441],['17',1529],['18',1686],['19',1765],['20',1879],['21',2122],['22',2245],['23',2329],['24',2719],['25',3600],['26',4068],['27',4747],['28',5479],['18',1686],['19',1765],['20',1879],['21',2122],['22',2245],['23',2329],['24',2719],['25',3600],['26',4068],['27',4747],['28',5479],['29',6082],
我有这张图片作为我的图表