我有这个数组:["day","counts","Male","Female","AVGages"],["2012-01-20",15,10,5,25]。
function drawChart() {
var jsonData = $.ajax({
url: "server.php",
dataType: "json",
async: false
}).responseText;
var obj = jQuery.parseJSON(jsonData);
var data = google.visualization.arrayToDataTable(obj);
一个图表成功出现,有 5 列:
["day","counts","Male","Female","AVGages"],像这样:
http://s13.postimage.org/3q2o4g2mt/chart.png
有没有办法让年龄不显示为一列但仍然是表格的一部分?