option = {
// 关闭动画
animation: false,
xAxis: {
type: 'category',
data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
},
yAxis: {
type: 'value'
},
series: [{
data: [820, 932, 901, 934, 1290, 1330, 1320],
type: 'line',
showSymbol: false,
showAllSymbol: false,
//sampling:'average',
}]
};
animation: false,
showSymbol: false,
showAllSymbol: false,
//sampling:'average',
//优化体验
myChart.showLoading();
myChart.hideLoading();