-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
/
Copy pathdisplay-text_zero-number.json
79 lines (79 loc) · 2.06 KB
/
display-text_zero-number.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
{
"data": [
{
"name": "pie",
"type": "pie",
"labels": ["A", "B", "C", "D", "E", "F", "G"],
"values": [7, 6, 5, 4, 3, 2, 1],
"text": [null, "", "0", 0, 1, true, false],
"textinfo": "label+text+value",
"domain": {
"x": [0, 0.48],
"y": [0.52, 1]
}
},
{
"name": "sunburst",
"type": "sunburst",
"parents": ["", "A", "B", "C", "D", "E", "F"],
"labels": ["A", "B", "C", "D", "E", "F", "G"],
"values": [7, 6, 5, 4, 3, 2, 1],
"text": [null, "", "0", 0, 1, true, false],
"textinfo": "label+text+value",
"domain": {
"x": [0.52, 1],
"y": [0, 0.48]
}
},
{
"name": "funnel",
"type": "funnel",
"y": ["A", "B", "C", "D", "E", "F", "G"],
"x": [7, 6, 5, 4, 3, 2, 1],
"text": [null, "", "0", 0, 1, true, false],
"textinfo": "label+text+value"
},
{
"name": "waterfall",
"type": "waterfall",
"x": ["A", "B", "C", "D", "E", "F", "G"],
"y": [5, -4, 3, -2, 1, null, 3.14],
"measure": ["r", "r", "r", "r", "r", "t", "a"],
"text": [null, "", "0", 0, 1, true, false],
"textinfo": "label+text+final",
"xaxis": "x2",
"yaxis": "y2"
}
],
"layout": {
"width": 800,
"height": 800,
"dragmode": "pan",
"xaxis": {
"domain": [
0,
0.48
]
},
"xaxis2": {
"anchor": "y2",
"domain": [
0.52,
1
]
},
"yaxis": {
"domain": [
0,
0.48
]
},
"yaxis2": {
"anchor": "x2",
"domain": [
0.52,
1
]
}
}
}