var myCharts10 = echarts.init(document.getElementById("main10")); var option10 = { xAxis: { type: 'category', data: [] }, yAxis: { type: 'value' }, series: [{ data: [], type: 'line' }] }; // 向后台发起请求,获取数据 $.ajax({ cache: false, type:"GET", url:"/province_curconfirm", data: null, dataType : "json", async: false, error: function(request) { alert("发送请求失败!"); }, success: function(result) { // pub_date, privinces, curConfirms for(i=0; i