File tree 4 files changed +127
-46
lines changed
4 files changed +127
-46
lines changed Original file line number Diff line number Diff line change 2
2
"data" : [
3
3
{
4
4
"type" : " bar" ,
5
- "x" : [ " textposition:outside" ],
6
- "y" : [ 0 ],
7
- "text" : [ " Text" ],
8
- "textposition" : [ " outside" ]
5
+ "x" : [
6
+ " textposition:outside"
7
+ ],
8
+ "y" : [
9
+ 0
10
+ ],
11
+ "text" : [
12
+ " Text"
13
+ ],
14
+ "textposition" : [
15
+ " outside"
16
+ ],
17
+ "xaxis" : " x" ,
18
+ "yaxis" : " y"
9
19
},
10
20
{
11
21
"type" : " bar" ,
12
- "x" : [ " textpostion:auto" ],
13
- "y" : [ 0 ],
14
- "text" : [ " should not see" ],
15
- "textposition" : [ " auto" ]
22
+ "x" : [
23
+ " textpostion:auto"
24
+ ],
25
+ "y" : [
26
+ 0
27
+ ],
28
+ "text" : [
29
+ " should not see"
30
+ ],
31
+ "textposition" : [
32
+ " auto"
33
+ ],
34
+ "xaxis" : " x" ,
35
+ "yaxis" : " y"
16
36
},
17
37
{
18
38
"type" : " bar" ,
19
- "x" : [ " textpostion:inside" ],
20
- "y" : [ 0 ],
21
- "text" : [ " should not see" ],
22
- "textposition" : [ " inside" ]
39
+ "x" : [
40
+ " textpostion:inside"
41
+ ],
42
+ "y" : [
43
+ 0
44
+ ],
45
+ "text" : [
46
+ " should not see"
47
+ ],
48
+ "textposition" : [
49
+ " inside"
50
+ ],
51
+ "xaxis" : " x" ,
52
+ "yaxis" : " y"
53
+ },
54
+ {
55
+ "type" : " bar" ,
56
+ "orientation" : " h" ,
57
+ "y" : [
58
+ " textposition:outside"
59
+ ],
60
+ "x" : [
61
+ 0
62
+ ],
63
+ "text" : [
64
+ " Text"
65
+ ],
66
+ "textposition" : [
67
+ " outside"
68
+ ],
69
+ "xaxis" : " x2" ,
70
+ "yaxis" : " y2"
71
+ },
72
+ {
73
+ "type" : " bar" ,
74
+ "orientation" : " h" ,
75
+ "y" : [
76
+ " textpostion:auto"
77
+ ],
78
+ "x" : [
79
+ 0
80
+ ],
81
+ "text" : [
82
+ " should not see"
83
+ ],
84
+ "textposition" : [
85
+ " auto"
86
+ ],
87
+ "xaxis" : " x2" ,
88
+ "yaxis" : " y2"
89
+ },
90
+ {
91
+ "type" : " bar" ,
92
+ "orientation" : " h" ,
93
+ "y" : [
94
+ " textpostion:inside"
95
+ ],
96
+ "x" : [
97
+ 0
98
+ ],
99
+ "text" : [
100
+ " should not see"
101
+ ],
102
+ "textposition" : [
103
+ " inside"
104
+ ],
105
+ "xaxis" : " x2" ,
106
+ "yaxis" : " y2"
23
107
}
24
108
],
25
109
"layout" : {
26
110
"showlegend" : false ,
27
- "width" : 600
111
+ "margin" : { "l" : 150 },
112
+ "width" : 1200 ,
113
+ "height" : 600 ,
114
+ "xaxis" : {
115
+ "anchor" : " x" ,
116
+ "domain" : [
117
+ 0 ,
118
+ 0.5
119
+ ]
120
+ },
121
+ "yaxis" : {
122
+ "anchor" : " y" ,
123
+ "domain" : [
124
+ 0 ,
125
+ 0.5
126
+ ]
127
+ },
128
+ "xaxis2" : {
129
+ "anchor" : " x2" ,
130
+ "domain" : [
131
+ 0.5 ,
132
+ 0.1
133
+ ]
134
+ },
135
+ "yaxis2" : {
136
+ "anchor" : " y2" ,
137
+ "domain" : [
138
+ 0.5 ,
139
+ 1
140
+ ]
141
+ }
28
142
}
29
143
}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments