-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
/
Copy pathfunnel_cliponaxis-false.json
113 lines (113 loc) · 2.39 KB
/
funnel_cliponaxis-false.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
{
"data": [
{
"type": "funnel",
"name": "not clipped",
"x": ["apple", "banana", "clementine"],
"y": [3.8, 4, 4.2],
"text": ["apple", "banana", "x"],
"textinfo": "text",
"textposition": "outside",
"cliponaxis": false,
"textfont": {
"size": [60, 40, 20]
}
},
{
"type": "funnel",
"name": "same but clipped",
"x": ["apple", "banana", "clementine"],
"y": [3.8, 4, 4.2],
"text": ["apple", "banana", "clementine"],
"textinfo": "text",
"textposition": "outside",
"cliponaxis": true,
"textfont": {
"size": [60, 40, 20]
},
"xaxis": "x2",
"yaxis": "y2"
},
{
"type": "funnel",
"name": "should <b>not</b> see text",
"x": ["banana"],
"y": [4],
"text": ["X"],
"textinfo": "text",
"textposition": "outside",
"cliponaxis": true,
"textfont": {"size": [20]},
"marker": {"opacity": 0.3}
},
{
"type": "funnel",
"name": "should see text",
"x": ["banana"],
"y": [2],
"text": ["banana"],
"textinfo": "text",
"textposition": "outside",
"cliponaxis": false,
"textfont": {"size": [20]},
"xaxis": "x3",
"yaxis": "y3"
}
],
"layout": {
"funnelmode": "overlay",
"legend": {
"x": 0.5,
"xanchor": "center",
"y": -0.05,
"yanchor": "top"
},
"xaxis": {
"showline": true,
"showticklabels": false,
"mirror": true,
"layer": "below traces",
"domain": [0, 0.38]
},
"xaxis2": {
"anchor": "y2",
"showline": true,
"showticklabels": false,
"mirror": true,
"layer": "below traces",
"domain": [0.42, 0.80]
},
"xaxis3": {
"anchor": "y3",
"showline": true,
"showticklabels": false,
"mirror": true,
"layer": "below traces",
"domain": [0.84, 1]
},
"yaxis": {
"showline": true,
"mirror": true,
"layer": "below traces",
"range": [0, 2]
},
"yaxis2": {
"anchor": "x2",
"showline": true,
"mirror": true,
"layer": "below traces",
"range": [0, 2]
},
"yaxis3": {
"anchor": "x3",
"showline": true,
"mirror": true,
"layer": "below traces",
"range": [2, 0]
},
"width": 800,
"height": 400,
"margin": {"t": 40},
"dragmode": "pan"
}
}