Skip to content

Commit 204b2e8

Browse files
committed
add multicategory + mirror ax mock
1 parent 5da3851 commit 204b2e8

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed
22.4 KB
Loading
+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"data": [
3+
{
4+
"type": "bar",
5+
"x": [
6+
["2017", "2017", "2017", "2017", "2018", "2018", "2018"],
7+
["q1", "q2", "q3", "q4", "q1", "q2", "q3" ]
8+
],
9+
"y": [1, 2, 3, 1, 3, 2, 3, 1]
10+
},
11+
{
12+
"type": "bar",
13+
"x": [
14+
["2017", "2017", "2017", "2017", "2018", "2018", "2018"],
15+
["q1", "q2", "q3", "q4", "q1", "q2", "q3"]
16+
],
17+
"y": [1.12, 2.15, 3.07, 1.48, 2.78, 1.95, 2.54, 0.64]
18+
}
19+
],
20+
"layout": {
21+
"xaxis": {
22+
"ticks": "outside",
23+
"showline": true,
24+
"mirror": "ticks",
25+
"zeroline": false
26+
},
27+
"yaxis": {
28+
"showline": true,
29+
"ticks": "outside",
30+
"mirror": "ticks",
31+
"range": [-0.5, 3.5]
32+
}
33+
}
34+
}

0 commit comments

Comments
 (0)