File tree Expand file tree Collapse file tree 1 file changed +39
-40
lines changed
Expand file tree Collapse file tree 1 file changed +39
-40
lines changed Original file line number Diff line number Diff line change 11const testSteps = [
2- ( chart ) => chart . animate ( {
3- data : {
4- series : [
5- {
6- name : 'Year' ,
7- type : 'dimension' ,
8- values : [ '2005' , 'Total' ]
9- } ,
10- {
11- name : 'Result' ,
12- type : 'dimension' ,
13- values : [ 'Won' , 'Lost' ]
14- }
15- ]
16- }
17- } ) ,
18- ( chart ) => chart . animate ( {
19- data : {
20- filter : ( record ) => {
21- return record . Year !== 'Total'
22- }
23- } ,
24- config : {
25- x : 'Year'
26- }
27- } ) ,
2+ ( chart ) =>
3+ chart . animate ( {
4+ data : {
5+ series : [
6+ {
7+ name : 'Year' ,
8+ type : 'dimension' ,
9+ values : [ '2005' , 'Total' ]
10+ } ,
11+ {
12+ name : 'Result' ,
13+ type : 'dimension' ,
14+ values : [ 'Won' , 'Lost' ]
15+ }
16+ ]
17+ }
18+ } ) ,
19+ ( chart ) =>
20+ chart . animate ( {
21+ data : {
22+ filter : ( record ) => {
23+ return record . Year !== 'Total'
24+ }
25+ } ,
26+ config : {
27+ x : 'Year'
28+ }
29+ } ) ,
2830
29- ( chart ) => chart . animate (
30- {
31- data : {
32- filter : ( record ) => {
33- return (
34- record . Year === 'Total'
35- )
36- }
37- } ,
38- config : {
39- y : 'Result'
40- }
41- }
42- )
31+ ( chart ) =>
32+ chart . animate ( {
33+ data : {
34+ filter : ( record ) => {
35+ return record . Year === 'Total'
36+ }
37+ } ,
38+ config : {
39+ y : 'Result'
40+ }
41+ } )
4342]
4443
4544export default testSteps
You can’t perform that action at this time.
0 commit comments