Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 67d53a6

Browse files
committed
Added image baseline and json mock
1 parent 6042b0f commit 67d53a6

File tree

2 files changed

+217
-0
lines changed

2 files changed

+217
-0
lines changed
75 KB
Loading
Lines changed: 217 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,217 @@
1+
{
2+
"data": [
3+
{
4+
"x": [
5+
1,
6+
2,
7+
3
8+
],
9+
"y": [
10+
4096,
11+
8192,
12+
16384
13+
],
14+
"name": "yaxis1 data",
15+
"type": "scatter"
16+
},
17+
{
18+
"x": [
19+
2,
20+
3,
21+
4
22+
],
23+
"y": [
24+
40000,
25+
50000,
26+
60000
27+
],
28+
"name": "yaxis2 data",
29+
"yaxis": "y2",
30+
"type": "scatter"
31+
},
32+
{
33+
"x": [
34+
3,
35+
4,
36+
5
37+
],
38+
"y": [
39+
4000,
40+
5000,
41+
16000
42+
],
43+
"name": "yaxis3 data",
44+
"yaxis": "y3",
45+
"type": "scatter"
46+
},
47+
{
48+
"x": [
49+
4,
50+
5,
51+
6
52+
],
53+
"y": [
54+
40000,
55+
50000,
56+
60000
57+
],
58+
"name": "yaxis4 data",
59+
"yaxis": "y4",
60+
"type": "scatter"
61+
},
62+
{
63+
"x": [
64+
5,
65+
6,
66+
7
67+
],
68+
"y": [
69+
400000,
70+
500000,
71+
600000
72+
],
73+
"name": "yaxis5 data",
74+
"yaxis": "y5",
75+
"type": "scatter"
76+
},
77+
{
78+
"x": [
79+
6,
80+
7,
81+
8
82+
],
83+
"y": [
84+
40000000,
85+
50000000,
86+
60000000
87+
],
88+
"name": "yaxis6 data",
89+
"yaxis": "y6",
90+
"type": "scatter"
91+
}
92+
],
93+
"layout": {
94+
"title": "multiple y-axes exponentbase example",
95+
"xaxis": {
96+
"domain": [
97+
0.3,
98+
0.7
99+
],
100+
"showline": true,
101+
"ticks": "outside",
102+
"mirror": true
103+
},
104+
"yaxis": {
105+
"title": "yaxis title",
106+
"titlefont": {
107+
"color": "#1f77b4"
108+
},
109+
"showline": true,
110+
"ticks": "outside",
111+
"tickcolor": "#1f77b4",
112+
"tickfont": {
113+
"color": "#1f77b4"
114+
},
115+
"linecolor": "#1f77b4"
116+
},
117+
"legend": {
118+
"x": 1.1,
119+
"y": 1,
120+
"bordercolor": "#000",
121+
"borderwidth": 1
122+
},
123+
"yaxis2": {
124+
"title": "yaxis2 title",
125+
"titlefont": {
126+
"color": "#ff7f0e"
127+
},
128+
"showline": true,
129+
"ticks": "outside",
130+
"tickcolor": "#ff7f0e",
131+
"tickfont": {
132+
"color": "#ff7f0e"
133+
},
134+
"linecolor": "#ff7f0e",
135+
"anchor": "free",
136+
"position": 0.15,
137+
"overlaying": "y",
138+
"exponentbase": 2,
139+
"exponentformat": "SI"
140+
},
141+
"yaxis3": {
142+
"title": "yaxis3 title",
143+
"titlefont": {
144+
"color": "#2ca02c"
145+
},
146+
"showline": true,
147+
"ticks": "outside",
148+
"tickcolor": "#2ca02c",
149+
"tickfont": {
150+
"color": "#2ca02c"
151+
},
152+
"linecolor": "#2ca02c",
153+
"anchor": "free",
154+
"position": 0,
155+
"overlaying": "y",
156+
"exponentbase": 8,
157+
"exponentformat": "B"
158+
},
159+
"yaxis4": {
160+
"title": "yaxis4 title",
161+
"titlefont": {
162+
"color": "#d62728"
163+
},
164+
"showline": true,
165+
"ticks": "outside",
166+
"tickcolor": "#d62728",
167+
"tickfont": {
168+
"color": "#d62728"
169+
},
170+
"showexponent": "last",
171+
"linecolor": "#d62728",
172+
"side": "right",
173+
"overlaying": "y",
174+
"exponentbase": 16,
175+
"exonentformat": "SI"
176+
},
177+
"yaxis5": {
178+
"title": "yaxis5 title",
179+
"titlefont": {
180+
"color": "#9467bd"
181+
},
182+
"showline": true,
183+
"ticks": "outside",
184+
"tickcolor": "#9467bd",
185+
"tickfont": {
186+
"color": "#9467bd"
187+
},
188+
"exponentbase": 2,
189+
"exponentformat": "e",
190+
"showexponent": "first",
191+
"linecolor": "#9467bd",
192+
"anchor": "free",
193+
"side": "right",
194+
"position": 0.85,
195+
"overlaying": "y"
196+
},
197+
"yaxis6": {
198+
"title": "yaxis6 title",
199+
"titlefont": {
200+
"color": "#8c564b"
201+
},
202+
"showline": true,
203+
"ticks": "outside",
204+
"tickcolor": "#8c564b",
205+
"tickfont": {
206+
"color": "#8c564b"
207+
},
208+
"exponentbase": "11",
209+
"exponentformat": "E",
210+
"linecolor": "#8c564b",
211+
"anchor": "free",
212+
"side": "right",
213+
"position": 1,
214+
"overlaying": "y"
215+
}
216+
}
217+
}

0 commit comments

Comments
 (0)