File tree Expand file tree Collapse file tree 2 files changed +164
-0
lines changed Expand file tree Collapse file tree 2 files changed +164
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "data" : [
3+ {
4+ "xaxis" : " x" ,
5+ "yaxis" : " y" ,
6+ "type" : " bar" ,
7+ "orientation" : " h" ,
8+ "y" : [
9+ " A" ,
10+ " B" ,
11+ " C"
12+ ],
13+ "x" : [
14+ 1 ,
15+ -11 ,
16+ 1
17+ ],
18+ "text" : [
19+ " +1" ,
20+ " -11" ,
21+ " +1"
22+ ],
23+ "textposition" : " auto" ,
24+ "insidetextanchor" : " middle" ,
25+ "base" : 10
26+ },
27+ {
28+ "xaxis" : " x2" ,
29+ "yaxis" : " y2" ,
30+ "type" : " bar" ,
31+ "x" : [
32+ " E" ,
33+ " F" ,
34+ " G"
35+ ],
36+ "y" : [
37+ -1 ,
38+ 11 ,
39+ -1
40+ ],
41+ "text" : [
42+ " -1" ,
43+ " +11" ,
44+ " -1"
45+ ],
46+ "textposition" : " auto" ,
47+ "insidetextanchor" : " middle" ,
48+ "base" : -10
49+ },
50+ {
51+ "xaxis" : " x3" ,
52+ "yaxis" : " y3" ,
53+ "type" : " waterfall" ,
54+ "x" : [
55+ " E" ,
56+ " F" ,
57+ " G"
58+ ],
59+ "y" : [
60+ 1 ,
61+ -12 ,
62+ 1
63+ ],
64+ "text" : [
65+ " +1" ,
66+ " -12" ,
67+ " +1"
68+ ],
69+ "textposition" : " auto" ,
70+ "insidetextanchor" : " middle" ,
71+ "base" : 10
72+ },
73+ {
74+ "xaxis" : " x4" ,
75+ "yaxis" : " y4" ,
76+ "type" : " waterfall" ,
77+ "orientation" : " h" ,
78+ "y" : [
79+ " A" ,
80+ " B" ,
81+ " C"
82+ ],
83+ "x" : [
84+ -1 ,
85+ 12 ,
86+ -1
87+ ],
88+ "text" : [
89+ " -1" ,
90+ " +12" ,
91+ " -1"
92+ ],
93+ "textposition" : " auto" ,
94+ "insidetextanchor" : " middle" ,
95+ "base" : -10
96+ }
97+ ],
98+ "layout" : {
99+ "width" : 400 ,
100+ "height" : 400 ,
101+ "template" : {
102+ "layout" : {
103+ "showlegend" : false ,
104+ "title" : {
105+ "text" : " tozero autorange with<br>base and negative size"
106+ },
107+ "xaxis" : {
108+ "domain" : [
109+ 0 ,
110+ 0.45
111+ ]
112+ },
113+ "yaxis" : {
114+ "domain" : [
115+ 0 ,
116+ 0.45
117+ ]
118+ },
119+ "xaxis2" : {
120+ "anchor" : " y2" ,
121+ "domain" : [
122+ 0.55 ,
123+ 1
124+ ]
125+ },
126+ "yaxis2" : {
127+ "anchor" : " x2" ,
128+ "domain" : [
129+ 0.55 ,
130+ 1
131+ ]
132+ },
133+ "xaxis3" : {
134+ "anchor" : " y3" ,
135+ "domain" : [
136+ 0 ,
137+ 0.45
138+ ]
139+ },
140+ "yaxis3" : {
141+ "anchor" : " x3" ,
142+ "domain" : [
143+ 0.55 ,
144+ 1
145+ ]
146+ },
147+ "xaxis4" : {
148+ "anchor" : " y4" ,
149+ "domain" : [
150+ 0.55 ,
151+ 1
152+ ]
153+ },
154+ "yaxis4" : {
155+ "anchor" : " x4" ,
156+ "domain" : [
157+ 0 ,
158+ 0.45
159+ ]
160+ }
161+ }
162+ }
163+ }
164+ }
You can’t perform that action at this time.
0 commit comments