Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
x649585723
incubator-echarts
提交
86a43259
I
incubator-echarts
项目概览
x649585723
/
incubator-echarts
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
I
incubator-echarts
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
86a43259
编写于
11月 28, 2019
作者:
O
Ovilia
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
test(pie): update test cases
上级
91cb0bc1
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
30 addition
and
29 deletion
+30
-29
test/media-pie.html
test/media-pie.html
+4
-1
test/pie-alignTo.html
test/pie-alignTo.html
+24
-28
test/runTest/actions/__meta__.json
test/runTest/actions/__meta__.json
+1
-0
test/runTest/actions/pie-alignTo.json
test/runTest/actions/pie-alignTo.json
+1
-0
未找到文件。
test/media-pie.html
浏览文件 @
86a43259
...
...
@@ -145,7 +145,10 @@ under the License.
{
value
:
35
,
name
:
'
rose6
'
},
{
value
:
30
,
name
:
'
rose7
'
},
{
value
:
40
,
name
:
'
rose8
'
}
]
],
label
:
{
margin
:
10
}
}
]
},
...
...
test/pie-alignTo.html
浏览文件 @
86a43259
...
...
@@ -217,43 +217,39 @@ under the License.
gui
.
add
(
config
,
'
length2
'
,
0
,
300
)
.
onChange
(
function
(
value
)
{
option0
.
series
[
0
].
labelLine
.
length2
=
value
;
option1
.
series
[
0
].
labelLine
.
length2
=
value
;
optionNone
.
series
[
0
].
labelLine
.
length2
=
value
;
chart0
.
setOption
(
option0
);
chart1
.
setOption
(
option1
);
chartNone
.
setOption
(
optionNone
);
for
(
var
i
=
0
;
i
<
4
;
++
i
)
{
option2
.
series
[
i
].
labelLine
.
length2
=
value
;
if
(
chart0
)
{
option0
.
series
[
0
].
labelLine
.
length2
=
value
;
option1
.
series
[
0
].
labelLine
.
length2
=
value
;
optionNone
.
series
[
0
].
labelLine
.
length2
=
value
;
chart0
.
setOption
(
option0
);
chart1
.
setOption
(
option1
);
chartNone
.
setOption
(
optionNone
);
for
(
var
i
=
0
;
i
<
4
;
++
i
)
{
option2
.
series
[
i
].
labelLine
.
length2
=
value
;
}
chart2
.
setOption
(
option2
);
}
chart2
.
setOption
(
option2
);
});
gui
.
add
(
config
,
'
margin
'
,
0
,
300
)
.
onChange
(
function
(
value
)
{
option0
.
series
[
0
].
label
.
margin
=
value
;
option1
.
series
[
0
].
label
.
margin
=
value
;
optionNone
.
series
[
0
].
label
.
margin
=
value
;
chart0
.
setOption
(
option0
);
chart1
.
setOption
(
option1
);
chartNone
.
setOption
(
optionNone
);
for
(
var
i
=
0
;
i
<
4
;
++
i
)
{
option2
.
series
[
i
].
label
.
margin
=
value
;
if
(
chart0
)
{
option0
.
series
[
0
].
label
.
margin
=
value
;
option1
.
series
[
0
].
label
.
margin
=
value
;
optionNone
.
series
[
0
].
label
.
margin
=
value
;
chart0
.
setOption
(
option0
);
chart1
.
setOption
(
option1
);
chartNone
.
setOption
(
optionNone
);
for
(
var
i
=
0
;
i
<
4
;
++
i
)
{
option2
.
series
[
i
].
label
.
margin
=
value
;
}
chart2
.
setOption
(
option2
);
}
chart2
.
setOption
(
option2
);
});
});
window
.
onresize
=
function
()
{
if
(
chart0
)
{
chart0
.
resize
();
chart1
.
resize
();
chart2
.
resize
();
}
};
</script>
...
...
test/runTest/actions/__meta__.json
浏览文件 @
86a43259
...
...
@@ -105,6 +105,7 @@
"pictorial-repeat"
:
5
,
"pie"
:
1
,
"pie-action"
:
1
,
"pie-alignTo"
:
4
,
"pie-calculable"
:
1
,
"polar-rounded"
:
2
,
"polarLine"
:
1
,
...
...
test/runTest/actions/pie-alignTo.json
0 → 100644
浏览文件 @
86a43259
[{
"name"
:
"Action 1"
,
"ops"
:[{
"type"
:
"mousemove"
,
"time"
:
436
,
"x"
:
648
,
"y"
:
123
},{
"type"
:
"mousemove"
,
"time"
:
635
,
"x"
:
654
,
"y"
:
50
},{
"type"
:
"mousemove"
,
"time"
:
837
,
"x"
:
653
,
"y"
:
25
},{
"type"
:
"mousemove"
,
"time"
:
1047
,
"x"
:
653
,
"y"
:
14
},{
"type"
:
"mousedown"
,
"time"
:
1382
,
"x"
:
653
,
"y"
:
14
},{
"type"
:
"mouseup"
,
"time"
:
1498
,
"x"
:
653
,
"y"
:
14
},{
"time"
:
1499
,
"delay"
:
400
,
"type"
:
"screenshot-auto"
},{
"type"
:
"screenshot"
,
"time"
:
4160
},{
"type"
:
"mousemove"
,
"time"
:
4353
,
"x"
:
653
,
"y"
:
14
},{
"type"
:
"mousemove"
,
"time"
:
4561
,
"x"
:
700
,
"y"
:
13
},{
"type"
:
"mousemove"
,
"time"
:
4778
,
"x"
:
703
,
"y"
:
14
},{
"type"
:
"mousedown"
,
"time"
:
4880
,
"x"
:
703
,
"y"
:
14
},{
"type"
:
"mouseup"
,
"time"
:
4996
,
"x"
:
703
,
"y"
:
14
},{
"time"
:
4997
,
"delay"
:
400
,
"type"
:
"screenshot-auto"
},{
"type"
:
"mousemove"
,
"time"
:
5522
,
"x"
:
703
,
"y"
:
14
},{
"type"
:
"mousemove"
,
"time"
:
5779
,
"x"
:
703
,
"y"
:
15
},{
"type"
:
"screenshot"
,
"time"
:
6449
},{
"type"
:
"mousemove"
,
"time"
:
7576
,
"x"
:
703
,
"y"
:
15
},{
"type"
:
"mousemove"
,
"time"
:
7835
,
"x"
:
687
,
"y"
:
15
},{
"type"
:
"mousemove"
,
"time"
:
8036
,
"x"
:
668
,
"y"
:
17
},{
"type"
:
"mousemove"
,
"time"
:
8252
,
"x"
:
664
,
"y"
:
18
},{
"type"
:
"mousemove"
,
"time"
:
8912
,
"x"
:
664
,
"y"
:
19
},{
"type"
:
"mousemove"
,
"time"
:
9117
,
"x"
:
673
,
"y"
:
28
},{
"type"
:
"mousemove"
,
"time"
:
9325
,
"x"
:
692
,
"y"
:
48
},{
"type"
:
"mousemove"
,
"time"
:
9536
,
"x"
:
693
,
"y"
:
48
},{
"type"
:
"mousemove"
,
"time"
:
9859
,
"x"
:
692
,
"y"
:
48
},{
"type"
:
"mousemove"
,
"time"
:
10059
,
"x"
:
691
,
"y"
:
47
},{
"type"
:
"mousedown"
,
"time"
:
10728
,
"x"
:
691
,
"y"
:
47
},{
"type"
:
"mouseup"
,
"time"
:
10824
,
"x"
:
691
,
"y"
:
47
},{
"time"
:
10825
,
"delay"
:
400
,
"type"
:
"screenshot-auto"
},{
"type"
:
"screenshot"
,
"time"
:
11855
},{
"type"
:
"mousemove"
,
"time"
:
12429
,
"x"
:
692
,
"y"
:
46
},{
"type"
:
"mousemove"
,
"time"
:
12637
,
"x"
:
694
,
"y"
:
45
},{
"type"
:
"mousemove"
,
"time"
:
12926
,
"x"
:
694
,
"y"
:
45
},{
"type"
:
"mousemove"
,
"time"
:
13138
,
"x"
:
695
,
"y"
:
45
},{
"type"
:
"mousemove"
,
"time"
:
13343
,
"x"
:
689
,
"y"
:
45
},{
"type"
:
"mousemove"
,
"time"
:
13551
,
"x"
:
665
,
"y"
:
44
},{
"type"
:
"mousemove"
,
"time"
:
13758
,
"x"
:
647
,
"y"
:
41
},{
"type"
:
"mousemove"
,
"time"
:
13972
,
"x"
:
645
,
"y"
:
41
},{
"type"
:
"mousemove"
,
"time"
:
14441
,
"x"
:
645
,
"y"
:
40
},{
"type"
:
"mousemove"
,
"time"
:
14642
,
"x"
:
642
,
"y"
:
25
},{
"type"
:
"mousemove"
,
"time"
:
14844
,
"x"
:
645
,
"y"
:
17
},{
"type"
:
"mousedown"
,
"time"
:
15039
,
"x"
:
645
,
"y"
:
16
},{
"type"
:
"mousemove"
,
"time"
:
15106
,
"x"
:
645
,
"y"
:
16
},{
"type"
:
"mouseup"
,
"time"
:
15149
,
"x"
:
645
,
"y"
:
16
},{
"time"
:
15150
,
"delay"
:
400
,
"type"
:
"screenshot-auto"
},{
"type"
:
"mousemove"
,
"time"
:
15476
,
"x"
:
645
,
"y"
:
16
},{
"type"
:
"mousemove"
,
"time"
:
15676
,
"x"
:
663
,
"y"
:
50
},{
"type"
:
"mousemove"
,
"time"
:
15883
,
"x"
:
664
,
"y"
:
51
},{
"type"
:
"screenshot"
,
"time"
:
16449
},{
"type"
:
"mousemove"
,
"time"
:
17168
,
"x"
:
664
,
"y"
:
51
},{
"type"
:
"mousemove"
,
"time"
:
17369
,
"x"
:
776
,
"y"
:
237
},{
"type"
:
"mousemove"
,
"time"
:
17581
,
"x"
:
663
,
"y"
:
480
},{
"type"
:
"mousemove"
,
"time"
:
17799
,
"x"
:
659
,
"y"
:
487
},{
"type"
:
"mousemove"
,
"time"
:
18012
,
"x"
:
659
,
"y"
:
487
},{
"type"
:
"mousemove"
,
"time"
:
18237
,
"x"
:
659
,
"y"
:
487
},{
"type"
:
"mousemove"
,
"time"
:
18454
,
"x"
:
659
,
"y"
:
486
}],
"scrollY"
:
0
,
"scrollX"
:
0
,
"timestamp"
:
1574839270358
},{
"name"
:
"Action 2"
,
"ops"
:[{
"type"
:
"mousemove"
,
"time"
:
314
,
"x"
:
721
,
"y"
:
238
},{
"type"
:
"mousemove"
,
"time"
:
520
,
"x"
:
691
,
"y"
:
71
},{
"type"
:
"mousemove"
,
"time"
:
722
,
"x"
:
676
,
"y"
:
35
},{
"type"
:
"mousemove"
,
"time"
:
927
,
"x"
:
671
,
"y"
:
18
},{
"type"
:
"mousemove"
,
"time"
:
1143
,
"x"
:
670
,
"y"
:
16
},{
"type"
:
"mousedown"
,
"time"
:
1157
,
"x"
:
670
,
"y"
:
16
},{
"type"
:
"mouseup"
,
"time"
:
1252
,
"x"
:
670
,
"y"
:
16
},{
"time"
:
1253
,
"delay"
:
400
,
"type"
:
"screenshot-auto"
},{
"type"
:
"screenshot"
,
"time"
:
2570
},{
"type"
:
"mousemove"
,
"time"
:
3048
,
"x"
:
670
,
"y"
:
17
},{
"type"
:
"mousemove"
,
"time"
:
3250
,
"x"
:
665
,
"y"
:
36
},{
"type"
:
"mousemove"
,
"time"
:
3462
,
"x"
:
664
,
"y"
:
38
},{
"type"
:
"mousemove"
,
"time"
:
3582
,
"x"
:
664
,
"y"
:
38
},{
"type"
:
"mousemove"
,
"time"
:
3789
,
"x"
:
664
,
"y"
:
38
},{
"type"
:
"mousedown"
,
"time"
:
3850
,
"x"
:
664
,
"y"
:
38
},{
"type"
:
"mouseup"
,
"time"
:
3960
,
"x"
:
664
,
"y"
:
38
},{
"time"
:
3961
,
"delay"
:
400
,
"type"
:
"screenshot-auto"
},{
"type"
:
"screenshot"
,
"time"
:
5710
},{
"type"
:
"mousemove"
,
"time"
:
6465
,
"x"
:
663
,
"y"
:
38
},{
"type"
:
"mousemove"
,
"time"
:
6666
,
"x"
:
646
,
"y"
:
40
},{
"type"
:
"mousemove"
,
"time"
:
6866
,
"x"
:
644
,
"y"
:
40
},{
"type"
:
"mousemove"
,
"time"
:
7072
,
"x"
:
642
,
"y"
:
40
},{
"type"
:
"mousemove"
,
"time"
:
7292
,
"x"
:
642
,
"y"
:
40
},{
"type"
:
"mousemove"
,
"time"
:
9132
,
"x"
:
642
,
"y"
:
39
},{
"type"
:
"mousemove"
,
"time"
:
9333
,
"x"
:
644
,
"y"
:
16
},{
"type"
:
"mousemove"
,
"time"
:
9542
,
"x"
:
643
,
"y"
:
11
},{
"type"
:
"mousedown"
,
"time"
:
9564
,
"x"
:
643
,
"y"
:
11
},{
"type"
:
"mouseup"
,
"time"
:
9646
,
"x"
:
643
,
"y"
:
11
},{
"time"
:
9647
,
"delay"
:
400
,
"type"
:
"screenshot-auto"
},{
"type"
:
"screenshot"
,
"time"
:
10609
}],
"scrollY"
:
405
,
"scrollX"
:
0
,
"timestamp"
:
1574839407226
},{
"name"
:
"Action 3"
,
"ops"
:[{
"type"
:
"mousemove"
,
"time"
:
430
,
"x"
:
743
,
"y"
:
149
},{
"type"
:
"mousemove"
,
"time"
:
629
,
"x"
:
685
,
"y"
:
72
},{
"type"
:
"mousemove"
,
"time"
:
831
,
"x"
:
679
,
"y"
:
41
},{
"type"
:
"mousemove"
,
"time"
:
1036
,
"x"
:
677
,
"y"
:
40
},{
"type"
:
"mousedown"
,
"time"
:
1161
,
"x"
:
677
,
"y"
:
40
},{
"type"
:
"mouseup"
,
"time"
:
1229
,
"x"
:
677
,
"y"
:
40
},{
"time"
:
1230
,
"delay"
:
400
,
"type"
:
"screenshot-auto"
},{
"type"
:
"screenshot"
,
"time"
:
2619
},{
"type"
:
"mousemove"
,
"time"
:
3326
,
"x"
:
678
,
"y"
:
39
},{
"type"
:
"mousemove"
,
"time"
:
3527
,
"x"
:
684
,
"y"
:
26
},{
"type"
:
"mousemove"
,
"time"
:
3736
,
"x"
:
684
,
"y"
:
15
},{
"type"
:
"mousedown"
,
"time"
:
3875
,
"x"
:
685
,
"y"
:
13
},{
"type"
:
"mouseup"
,
"time"
:
3986
,
"x"
:
685
,
"y"
:
13
},{
"time"
:
3987
,
"delay"
:
400
,
"type"
:
"screenshot-auto"
},{
"type"
:
"mousemove"
,
"time"
:
4006
,
"x"
:
685
,
"y"
:
13
},{
"type"
:
"screenshot"
,
"time"
:
5113
},{
"type"
:
"mousemove"
,
"time"
:
5646
,
"x"
:
685
,
"y"
:
13
},{
"type"
:
"mousemove"
,
"time"
:
5854
,
"x"
:
667
,
"y"
:
12
},{
"type"
:
"mousemove"
,
"time"
:
6061
,
"x"
:
658
,
"y"
:
28
},{
"type"
:
"mousemove"
,
"time"
:
6269
,
"x"
:
651
,
"y"
:
40
},{
"type"
:
"mousemove"
,
"time"
:
6495
,
"x"
:
649
,
"y"
:
40
},{
"type"
:
"mousedown"
,
"time"
:
6871
,
"x"
:
649
,
"y"
:
40
},{
"type"
:
"mouseup"
,
"time"
:
6968
,
"x"
:
649
,
"y"
:
40
},{
"time"
:
6969
,
"delay"
:
400
,
"type"
:
"screenshot-auto"
},{
"type"
:
"screenshot"
,
"time"
:
8386
},{
"type"
:
"mousemove"
,
"time"
:
9444
,
"x"
:
650
,
"y"
:
40
},{
"type"
:
"mousemove"
,
"time"
:
9643
,
"x"
:
658
,
"y"
:
51
},{
"type"
:
"mousemove"
,
"time"
:
9843
,
"x"
:
799
,
"y"
:
68
}],
"scrollY"
:
0
,
"scrollX"
:
0
,
"timestamp"
:
1574839490370
},{
"name"
:
"Action 4"
,
"ops"
:[{
"type"
:
"mousedown"
,
"time"
:
797
,
"x"
:
671
,
"y"
:
41
},{
"type"
:
"mouseup"
,
"time"
:
893
,
"x"
:
671
,
"y"
:
41
},{
"time"
:
894
,
"delay"
:
400
,
"type"
:
"screenshot-auto"
},{
"type"
:
"screenshot"
,
"time"
:
2345
},{
"type"
:
"mousemove"
,
"time"
:
2884
,
"x"
:
671
,
"y"
:
40
},{
"type"
:
"mousemove"
,
"time"
:
3093
,
"x"
:
674
,
"y"
:
23
},{
"type"
:
"mousemove"
,
"time"
:
3310
,
"x"
:
675
,
"y"
:
12
},{
"type"
:
"mousemove"
,
"time"
:
3517
,
"x"
:
673
,
"y"
:
11
},{
"type"
:
"mousedown"
,
"time"
:
3650
,
"x"
:
673
,
"y"
:
11
},{
"type"
:
"mouseup"
,
"time"
:
3713
,
"x"
:
673
,
"y"
:
11
},{
"time"
:
3714
,
"delay"
:
400
,
"type"
:
"screenshot-auto"
},{
"type"
:
"mousemove"
,
"time"
:
3763
,
"x"
:
673
,
"y"
:
11
},{
"type"
:
"screenshot"
,
"time"
:
5561
},{
"type"
:
"mousemove"
,
"time"
:
6251
,
"x"
:
673
,
"y"
:
11
},{
"type"
:
"mousemove"
,
"time"
:
6457
,
"x"
:
660
,
"y"
:
20
},{
"type"
:
"mousemove"
,
"time"
:
6676
,
"x"
:
655
,
"y"
:
25
},{
"type"
:
"mousemove"
,
"time"
:
6854
,
"x"
:
654
,
"y"
:
25
},{
"type"
:
"mousemove"
,
"time"
:
7061
,
"x"
:
653
,
"y"
:
27
},{
"type"
:
"mousemove"
,
"time"
:
7289
,
"x"
:
652
,
"y"
:
26
},{
"type"
:
"mousemove"
,
"time"
:
8842
,
"x"
:
652
,
"y"
:
27
},{
"type"
:
"mousemove"
,
"time"
:
9043
,
"x"
:
647
,
"y"
:
40
},{
"type"
:
"mousemove"
,
"time"
:
9257
,
"x"
:
647
,
"y"
:
41
},{
"type"
:
"mousedown"
,
"time"
:
9293
,
"x"
:
647
,
"y"
:
41
},{
"type"
:
"mouseup"
,
"time"
:
9388
,
"x"
:
647
,
"y"
:
41
},{
"time"
:
9389
,
"delay"
:
400
,
"type"
:
"screenshot-auto"
},{
"type"
:
"screenshot"
,
"time"
:
11356
},{
"type"
:
"mousemove"
,
"time"
:
14312
,
"x"
:
649
,
"y"
:
41
},{
"type"
:
"mousemove"
,
"time"
:
14512
,
"x"
:
796
,
"y"
:
87
}],
"scrollY"
:
1232
,
"scrollX"
:
0
,
"timestamp"
:
1574839517093
}]
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录