Skip to content

Commit dd120ee

Browse files
committed
Add gl2d line dash test
1 parent 9cfef66 commit dd120ee

File tree

1 file changed

+210
-0
lines changed

1 file changed

+210
-0
lines changed

Diff for: test/image/mocks/gl2d_line_dash.json

+210
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,210 @@
1+
{
2+
"data": [
3+
{
4+
"x": [
5+
1,
6+
2,
7+
3
8+
],
9+
"y": [
10+
4,
11+
5,
12+
6
13+
],
14+
"name": "Experiment",
15+
"marker": {
16+
"color": "rgb(54,144,192)",
17+
"size": 12,
18+
"symbol": "square",
19+
"line": {
20+
"color": "darkblue",
21+
"width": 3
22+
},
23+
"opacity": 1
24+
},
25+
"line": {
26+
"color": "rgb(3,78,123)",
27+
"width": 6,
28+
"dash": "dot"
29+
},
30+
"type": "scattergl"
31+
},
32+
{
33+
"x": [
34+
1,
35+
2,
36+
3
37+
],
38+
"y": [
39+
2,
40+
10,
41+
12
42+
],
43+
"name": "Control",
44+
"marker": {
45+
"color": "fuchsia",
46+
"size": 16,
47+
"symbol": "cross",
48+
"line": {
49+
"color": "",
50+
"width": 0
51+
},
52+
"opacity": 0.9
53+
},
54+
"line": {
55+
"color": "purple",
56+
"width": 4,
57+
"dash": "dashdot"
58+
},
59+
"type": "scattergl"
60+
}
61+
],
62+
"layout": {
63+
"title": "Click to enter Plot title",
64+
"titlefont": {
65+
"color": "",
66+
"family": "",
67+
"size": 0
68+
},
69+
"font": {
70+
"family": "'Open sans', verdana, arial, sans-serif",
71+
"size": 12,
72+
"color": "#444"
73+
},
74+
"showlegend": true,
75+
"autosize": true,
76+
"width": 800,
77+
"height": 506,
78+
"xaxis": {
79+
"title": "Click to enter X axis title",
80+
"titlefont": {
81+
"color": "",
82+
"family": "",
83+
"size": 0
84+
},
85+
"range": [
86+
0.8886587260486795,
87+
3.1113412739513207
88+
],
89+
"domain": [
90+
0,
91+
1
92+
],
93+
"type": "linear",
94+
"rangemode": "normal",
95+
"showgrid": true,
96+
"zeroline": true,
97+
"showline": false,
98+
"autotick": true,
99+
"nticks": 0,
100+
"ticks": "",
101+
"showticklabels": true,
102+
"tick0": 0,
103+
"dtick": 0.5,
104+
"ticklen": 5,
105+
"tickwidth": 1,
106+
"tickcolor": "#444",
107+
"tickangle": "auto",
108+
"tickfont": {
109+
"family": "",
110+
"size": 0,
111+
"color": ""
112+
},
113+
"exponentformat": "B",
114+
"showexponent": "all",
115+
"gridcolor": "#eee",
116+
"gridwidth": 1,
117+
"zerolinecolor": "#444",
118+
"zerolinewidth": 1,
119+
"linecolor": "#444",
120+
"linewidth": 1,
121+
"anchor": "y",
122+
"position": 0,
123+
"mirror": false,
124+
"overlaying": false,
125+
"autorange": true
126+
},
127+
"yaxis": {
128+
"title": "Click to enter Y axis title",
129+
"titlefont": {
130+
"color": "",
131+
"family": "",
132+
"size": 0
133+
},
134+
"range": [
135+
1.4444444444444444,
136+
12.555555555555555
137+
],
138+
"domain": [
139+
0,
140+
1
141+
],
142+
"type": "linear",
143+
"rangemode": "normal",
144+
"showgrid": true,
145+
"zeroline": true,
146+
"showline": false,
147+
"autotick": true,
148+
"nticks": 0,
149+
"ticks": "",
150+
"showticklabels": true,
151+
"tick0": 0,
152+
"dtick": 2,
153+
"ticklen": 5,
154+
"tickwidth": 1,
155+
"tickcolor": "#444",
156+
"tickangle": "auto",
157+
"tickfont": {
158+
"family": "",
159+
"size": 0,
160+
"color": ""
161+
},
162+
"exponentformat": "B",
163+
"showexponent": "all",
164+
"gridcolor": "#eee",
165+
"gridwidth": 1,
166+
"zerolinecolor": "#444",
167+
"zerolinewidth": 1,
168+
"linecolor": "#444",
169+
"linewidth": 1,
170+
"anchor": "x",
171+
"position": 0,
172+
"mirror": false,
173+
"overlaying": false,
174+
"autorange": true
175+
},
176+
"legend": {
177+
"x": 1.02,
178+
"y": 1,
179+
"traceorder": "normal",
180+
"font": {
181+
"family": "",
182+
"size": 0,
183+
"color": ""
184+
},
185+
"bgcolor": "#fff",
186+
"bordercolor": "#444",
187+
"borderwidth": 0,
188+
"xanchor": "left",
189+
"yanchor": "top"
190+
},
191+
"margin": {
192+
"l": 80,
193+
"r": 80,
194+
"b": 80,
195+
"t": 100,
196+
"pad": 0,
197+
"autoexpand": true
198+
},
199+
"paper_bgcolor": "#fff",
200+
"plot_bgcolor": "#fff",
201+
"hovermode": "x",
202+
"dragmode": "zoom",
203+
"barmode": "group",
204+
"bargap": 0.2,
205+
"bargroupgap": 0,
206+
"boxmode": "overlay",
207+
"separators": ".,",
208+
"hidesources": false
209+
}
210+
}

0 commit comments

Comments
 (0)