Skip to content

Commit 154c4ad

Browse files
test(mocks): add titles and modify layout for icicle_coffee-maxdepth3-all-directions
1 parent c6a9420 commit 154c4ad

File tree

1 file changed

+68
-22
lines changed

1 file changed

+68
-22
lines changed

test/image/mocks/icicle_coffee-maxdepth3-all-directions.json

Lines changed: 68 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
{
22
"data": [
3-
{
3+
{
44
"type": "icicle",
55
"pathbar": {
66
"visible": false
77
},
88
"tiling": {
9-
"orientation": "v",
10-
"flip": ""
9+
"orientation": "h",
10+
"flip": "x"
1111
},
1212
"maxdepth": 3,
1313
"domain": {
1414
"x": [
15-
0.5,
16-
1
15+
0,
16+
0.5
1717
],
1818
"y": [
19-
0.5,
20-
1
19+
0.05,
20+
0.45
2121
]
2222
},
2323
"textinfo": "label+percent parent",
@@ -328,12 +328,12 @@
328328
"maxdepth": 3,
329329
"domain": {
330330
"x": [
331-
0,
332-
0.5
333-
],
334-
"y": [
335331
0.5,
336332
1
333+
],
334+
"y": [
335+
0.05,
336+
0.45
337337
]
338338
},
339339
"textinfo": "label+percent parent",
@@ -638,18 +638,18 @@
638638
"visible": false
639639
},
640640
"tiling": {
641-
"orientation": "h",
642-
"flip": "x"
641+
"orientation": "v",
642+
"flip": "y"
643643
},
644644
"maxdepth": 3,
645645
"domain": {
646646
"x": [
647-
0.5,
648-
1
649-
],
650-
"y": [
651647
0,
652648
0.5
649+
],
650+
"y": [
651+
0.55,
652+
0.95
653653
]
654654
},
655655
"textinfo": "label+percent parent",
@@ -955,17 +955,17 @@
955955
},
956956
"tiling": {
957957
"orientation": "v",
958-
"flip": "y"
958+
"flip": ""
959959
},
960960
"maxdepth": 3,
961961
"domain": {
962962
"x": [
963-
0,
964-
0.5
963+
0.5,
964+
1
965965
],
966966
"y": [
967-
0,
968-
0.5
967+
0.55,
968+
0.95
969969
]
970970
},
971971
"textinfo": "label+percent parent",
@@ -1272,6 +1272,52 @@
12721272
"height": 1200,
12731273
"shapes": [
12741274
{ "type": "rect", "layer": "below", "x0": 0, "x1": 1, "y0": 0, "y1": 1 }
1275+
],
1276+
"annotations": [
1277+
{
1278+
"showarrow": false,
1279+
"text": "orientation: 'h', flip: 'x'",
1280+
"font": {
1281+
"size": 16
1282+
},
1283+
"x": 0.25,
1284+
"xanchor": "center",
1285+
"y": 0.5,
1286+
"yanchor": "bottom"
1287+
},
1288+
{
1289+
"showarrow": false,
1290+
"text": "orientation: 'h', flip: ''",
1291+
"font": {
1292+
"size": 16
1293+
},
1294+
"x": 0.75,
1295+
"xanchor": "center",
1296+
"y": 0.5,
1297+
"yanchor": "bottom"
1298+
},
1299+
{
1300+
"showarrow": false,
1301+
"text": "orientation: 'v', flip: 'y'",
1302+
"font": {
1303+
"size": 16
1304+
},
1305+
"x": 0.25,
1306+
"xanchor": "center",
1307+
"y": 0.95,
1308+
"yanchor": "bottom"
1309+
},
1310+
{
1311+
"showarrow": false,
1312+
"text": "orientation: 'v', flip: ''",
1313+
"font": {
1314+
"size": 16
1315+
},
1316+
"x": 0.75,
1317+
"xanchor": "center",
1318+
"y": 0.95,
1319+
"yanchor": "bottom"
1320+
}
12751321
]
12761322
}
12771323
}

0 commit comments

Comments
 (0)