百度的EChart 畫折線圖如何跳過空點?畫了一條7個點的線,第4個點可能沒有, 但他不是0, 我希望他從第三個點直接連線到第五個點, 這個要怎么實現?如圖:// 百度地址: https://www.echartsjs.com/examples/editor.html?c=line-smooth option = {
xAxis: { type: 'category',
data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
},
yAxis: { type: 'value'
},
series: [{
data: [820, 932, 901, , 1290, 1330, 1320], type: 'line',
smooth: true
}]
};
百度的EChart 畫折線圖如何跳過空點?
白衣染霜花
2019-02-05 16:31:59