Skip to content

Commit feb8785

Browse files
committed
Merge branch 'icicle-trace-base' of https://github.com/plotly/plotly.js into icicle-trace-base
2 parents 8ed4b8f + 6eb3a38 commit feb8785

10 files changed

+2607
-5
lines changed
49.5 KB
Loading
Loading
Loading
47.3 KB
Loading

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

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -322,8 +322,7 @@
322322
"visible": false
323323
},
324324
"tiling": {
325-
"orientation": "h",
326-
"flip": ""
325+
"orientation": "h"
327326
},
328327
"maxdepth": 3,
329328
"domain": {
@@ -954,8 +953,7 @@
954953
"visible": false
955954
},
956955
"tiling": {
957-
"orientation": "v",
958-
"flip": ""
956+
"orientation": "v"
959957
},
960958
"maxdepth": 3,
961959
"domain": {
@@ -1267,7 +1265,6 @@
12671265
],
12681266
"layout": {
12691267
"margin": {"l": 0, "r": 0, "b": 0, "t": 0},
1270-
"plot_bgcolor": "#dadada",
12711268
"width": 1200,
12721269
"height": 1200,
12731270
"shapes": [
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
{
2+
"data": [
3+
{
4+
"type": "icicle",
5+
"count": "leaves+branches",
6+
"textinfo": "label+percent parent",
7+
"marker": {
8+
"line": {
9+
"color": "#777"
10+
},
11+
"colorscale": "Blackbody",
12+
"reversescale": true,
13+
"showscale": true
14+
},
15+
"labels": [
16+
"Alpha",
17+
"Bravo",
18+
"Charlie",
19+
"Delta",
20+
"Echo",
21+
"Foxtrot",
22+
"Golf",
23+
"Hotel",
24+
"India",
25+
"Juliet",
26+
"Kilo",
27+
"Lima",
28+
"Mike",
29+
"November",
30+
"Oscar",
31+
"Papa",
32+
"Quebec",
33+
"Romeo",
34+
"Sierra",
35+
"Tango",
36+
"Uniform",
37+
"Victor",
38+
"Whiskey",
39+
"X ray",
40+
"Yankee",
41+
"Zulu"
42+
],
43+
"parents": [
44+
"",
45+
"Alpha",
46+
"Alpha",
47+
"Charlie",
48+
"Charlie",
49+
"Charlie",
50+
"Foxtrot",
51+
"Foxtrot",
52+
"Foxtrot",
53+
"Foxtrot",
54+
"Juliet",
55+
"Juliet",
56+
"Juliet",
57+
"Juliet",
58+
"Juliet",
59+
"Oscar",
60+
"Oscar",
61+
"Oscar",
62+
"Oscar",
63+
"Oscar",
64+
"Oscar",
65+
"Uniform",
66+
"Uniform",
67+
"Uniform",
68+
"Uniform",
69+
"Uniform",
70+
"Uniform"
71+
]
72+
}
73+
],
74+
"layout": {
75+
"width": 800,
76+
"height": 800
77+
}
78+
}
Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
{
2+
"data": [
3+
{
4+
"type": "icicle",
5+
"labels": ["Eve", "Cain", "Seth", "Enos", "Noam", "Abel", "Awan", "Enoch", "Azura"],
6+
"parents": ["", "Eve", "Eve", "Seth", "Seth", "Eve", "Eve", "Awan", "Eve" ],
7+
"domain": {"x": [0, 0.20], "y": [0, 0.9]},
8+
"root": {"color": "limegreen"},
9+
"level": "",
10+
"leaf": {
11+
"opacity": 0.1
12+
}
13+
},
14+
{
15+
"type": "icicle",
16+
"labels": ["Cain", "Seth", "Enos", "Noam", "Abel", "Awan", "Enoch", "Azura"],
17+
"parents": ["Eve", "Eve", "Seth", "Seth", "Eve", "Eve", "Awan", "Eve" ],
18+
"domain": {"x": [0.25, 0.45], "y": [0, 0.9]},
19+
"root": {"color": "limegreen"},
20+
"level": "Seth",
21+
"leaf": {
22+
"opacity": 0.3
23+
}
24+
},
25+
{
26+
"type": "icicle",
27+
"labels": ["Cain", "Seth", "Enos", "Noam", "Abel", "Awan", "Enoch", "Azura"],
28+
"parents": ["Eve", "Eve", "Seth", "Seth", "Eve", "Eve", "Awan", "Eve" ],
29+
"domain": {"x": [0.5, 0.70], "y": [0, 0.9]},
30+
"root": {"color": "limegreen"},
31+
"level": "Enos",
32+
"leaf": {
33+
"opacity": 0.7
34+
}
35+
},
36+
{
37+
"type": "icicle",
38+
"labels": ["Cain", "Seth", "Enos", "Noam", "Abel", "Awan", "Enoch", "Azura"],
39+
"parents": ["Eve", "Eve", "Seth", "Seth", "Eve", "Eve", "Awan", "Eve" ],
40+
"domain": {"x": [0.75, 0.95], "y": [0, 0.9]},
41+
"root": {"color": "limegreen"},
42+
"level": "Enos",
43+
"leaf": {
44+
"opacity": 1
45+
}
46+
}
47+
],
48+
"layout": {
49+
"annotations": [
50+
{
51+
"showarrow": false,
52+
"text": "opacity=<b>0.1</b>, level=<b>''</b>",
53+
"x": 0,
54+
"xanchor": "left",
55+
"y": 1,
56+
"yanchor": "bottom"
57+
},
58+
{
59+
"showarrow": false,
60+
"text": "opacity=<b>0.3</b>, level=<b>'Seth'</b>",
61+
"x": 0.25,
62+
"xanchor": "left",
63+
"y": 1,
64+
"yanchor": "bottom"
65+
},
66+
{
67+
"showarrow": false,
68+
"text": "opacity=<b>0.7</b>, level=<b>'Enos'</b>",
69+
"x": 0.5,
70+
"xanchor": "left",
71+
"y": 1,
72+
"yanchor": "bottom"
73+
},
74+
{
75+
"showarrow": false,
76+
"text": "opacity=<b>1</b>, level=<b>'Enos'</b>",
77+
"x": 0.75,
78+
"xanchor": "left",
79+
"y": 1,
80+
"yanchor": "bottom"
81+
}
82+
]
83+
}
84+
}

0 commit comments

Comments
 (0)