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

测试代码更新

上级 f5e9232b
......@@ -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}
......
......@@ -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(',') + ']<br/>';
autoCheck();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册