diff --git a/test/performance/option.js b/test/performance/option.js index ea328a92f2923574e1da46d0c3831aee2dc443ae..12538efedb49962befeda6d56be7d3a3b16df715 100644 --- a/test/performance/option.js +++ b/test/performance/option.js @@ -92,7 +92,13 @@ function option(chartType, n) { ]; } else if (chartType == 'scatter') { - opt.xAxis = opt.yAxis = [ + opt.xAxis = [ + { + type : 'value', + splitArea : {show : true} + } + ]; + opt.yAxis = [ { type : 'value', splitArea : {show : true} diff --git a/test/performance/p.js b/test/performance/p.js index 4d0d3d0b66c0b44517fd53b12c1c864550377a97..acccbca980d00aee33bcc7351de1f8f44ca2b91a 100644 --- a/test/performance/p.js +++ b/test/performance/p.js @@ -130,7 +130,7 @@ function run(){ //myChart.hideLoading(); isRunning = false; document.getElementById('res').innerHTML += - '【' + chartType + '】 : ' + n + '个数据平均render时间:' + '【' + chartType + '】 : ' + (n > 10000 ? (n/10000 + '万') : n) + '个数据平均render时间:' + Math.round(total/result.length) + 'ms : [' + result.join(',') + ']
'; autoCheck();