Skip to content

Commit 3159fab

Browse files
committed
fixup new waterfall_axis mock
1 parent cd5f09f commit 3159fab

File tree

2 files changed

+30
-18
lines changed

2 files changed

+30
-18
lines changed
991 Bytes
Loading

test/image/mocks/waterfall_axis.json

+30-18
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"data": [
33
{
44
"type": "waterfall",
5-
"orientation": "v",
65
"x": [
76
"A",
87
"B",
@@ -13,15 +12,18 @@
1312
-4,
1413
3
1514
],
16-
"measure": [ "a", "r", "r"],
15+
"measure": [
16+
"a",
17+
"r",
18+
"r"
19+
],
1720
"textposition": "auto",
1821
"textinfo": "initial+delta+final",
1922
"xaxis": "x",
2023
"yaxis": "y"
2124
},
2225
{
2326
"type": "waterfall",
24-
"orientation": "v",
2527
"x": [
2628
"A",
2729
"B",
@@ -33,7 +35,11 @@
3335
300
3436
],
3537
"base": 100,
36-
"measure": [ "a", "r", "r"],
38+
"measure": [
39+
"a",
40+
"r",
41+
"r"
42+
],
3743
"textposition": "auto",
3844
"textinfo": "initial+delta+final",
3945
"xaxis": "x2",
@@ -53,7 +59,11 @@
5359
"C"
5460
],
5561
"base": 10000,
56-
"measure": [ "a", "r", "r"],
62+
"measure": [
63+
"a",
64+
"r",
65+
"r"
66+
],
5767
"textposition": "auto",
5868
"textinfo": "initial+delta+final",
5969
"xaxis": "x3",
@@ -73,7 +83,11 @@
7383
"C"
7484
],
7585
"base": 1000000,
76-
"measure": [ "a", "r", "r"],
86+
"measure": [
87+
"a",
88+
"r",
89+
"r"
90+
],
7791
"textposition": "auto",
7892
"textinfo": "initial+delta+final",
7993
"xaxis": "x4",
@@ -85,29 +99,28 @@
8599
"height": 800,
86100
"dragmode": "pan",
87101
"xaxis": {
88-
"type": "category",
89102
"domain": [
90103
0,
91104
0.48
92-
],
93-
"autorange": true
105+
]
94106
},
95107
"xaxis2": {
96-
"type": "category",
108+
"anchor": "y2",
97109
"domain": [
98110
0.52,
99111
1
100112
],
101113
"autorange": "reversed"
102114
},
103115
"xaxis3": {
116+
"anchor": "y3",
104117
"domain": [
105118
0,
106119
0.48
107-
],
108-
"autorange": true
120+
]
109121
},
110122
"xaxis4": {
123+
"anchor": "y4",
111124
"domain": [
112125
0.52,
113126
1
@@ -122,27 +135,26 @@
122135
"autorange": "reversed"
123136
},
124137
"yaxis2": {
138+
"anchor": "x2",
125139
"domain": [
126140
0.52,
127141
1
128-
],
129-
"autorange": true
142+
]
130143
},
131144
"yaxis3": {
132-
"type": "category",
145+
"anchor": "x3",
133146
"domain": [
134147
0.52,
135148
1
136149
],
137150
"autorange": "reversed"
138151
},
139152
"yaxis4": {
140-
"type": "category",
153+
"anchor": "x4",
141154
"domain": [
142155
0,
143156
0.48
144-
],
145-
"autorange": true
157+
]
146158
}
147159
}
148160
}

0 commit comments

Comments
 (0)