ECharts
View on GitHub
Home
Example
API & Doc
Download
ZIP (1.1.0)
ZIP (Latest)
Link
Ecom-FE
Data Visualization
ZRender
Tangram
option
var effect = ['spin' , 'bar' , 'ring' , 'whirling' , 'dynamicLine' , 'bubble']; effectIndex = ++effectIndex % effect.length; myChart.showLoading({ text : effect[effectIndex], effect : effect[effectIndex], textStyle : { fontSize : 20 } }); clearTimeout(loadingTicket); loadingTicket = setTimeout(function(){ restoreing = false; myChart.setSeries([ { name:'蒸发量', type: effectIndex % 2 == 0 ? 'bar' : 'line', data:[2.0, 4.9, 7.0, 23.2, 25.6, 76.7, 135.6, 162.2, 32.6, 20.0, 6.4, 3.3] }, { name:'降水量', type: effectIndex % 2 == 0 ? 'bar' : 'line', data:[2.6, 5.9, 9.0, 26.4, 28.7, 70.7, 175.6, 182.2, 48.7, 18.8, 6.0, 2.3] } ]); },2200);
Loading ~