提交 1a479ea4 编写于 作者: K kener

测试代码更新

上级 f5e9232b
...@@ -92,7 +92,13 @@ function option(chartType, n) { ...@@ -92,7 +92,13 @@ function option(chartType, n) {
]; ];
} }
else if (chartType == 'scatter') { else if (chartType == 'scatter') {
opt.xAxis = opt.yAxis = [ opt.xAxis = [
{
type : 'value',
splitArea : {show : true}
}
];
opt.yAxis = [
{ {
type : 'value', type : 'value',
splitArea : {show : true} splitArea : {show : true}
......
...@@ -130,7 +130,7 @@ function run(){ ...@@ -130,7 +130,7 @@ function run(){
//myChart.hideLoading(); //myChart.hideLoading();
isRunning = false; isRunning = false;
document.getElementById('res').innerHTML += document.getElementById('res').innerHTML +=
'' + chartType + '】 : ' + n + '个数据平均render时间:' '' + chartType + '】 : ' + (n > 10000 ? (n/10000 + '') : n) + '个数据平均render时间:'
+ Math.round(total/result.length) + Math.round(total/result.length)
+ 'ms : [' + result.join(',') + ']<br/>'; + 'ms : [' + result.join(',') + ']<br/>';
autoCheck(); autoCheck();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册