-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Expand file tree
/
Copy pathshapes_layer_below_traces.json
More file actions
110 lines (110 loc) · 2.28 KB
/
shapes_layer_below_traces.json
File metadata and controls
110 lines (110 loc) · 2.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
{
"data": [
{
"name": "scatter",
"x": ["A", "B", "C", "D", 2000.0],
"y": [100, 200, 150, 190, 50],
"type": "scatter"
},
{
"name": "bar",
"x": ["A", "B", "C", "D", 2000.0],
"y": [50, 70, 90, 35, 55],
"type": "bar",
"yaxis": "y2"
}
],
"layout": {
"shapes": [
{
"name": "dashdot line",
"fillcolor": "rgba(179,179,179,1)",
"layer": "above",
"line": {
"color": "rgba(66,127,109,1)",
"dash": "dashdot"
},
"type": "line",
"x0": 0.4,
"x1": 0.4,
"xref": "x",
"y0": 0.0,
"y1": 1.0,
"yref": "paper"
},
{
"name": "horizontal line",
"fillcolor": "rgba(179,179,179,1)",
"layer": "above",
"line": {
"color": "rgba(0,0,0,1)"
},
"type": "line",
"x0": 0.0,
"x1": 1.0,
"xref": "paper",
"y0": 120.0,
"y1": 120.0,
"yref": "y"
},
{
"name": "blue rect",
"fillcolor": "rgba(108,173,225,1)",
"layer": "between",
"label": {
"text": "hello, I am between gridlines and traces!"
},
"line": {
"color": "rgba(108,173,225,1)"
},
"type": "rect",
"x0": "B",
"x1": "D",
"xref": "x",
"y0": 35,
"y1": 65.0
},
{
"name": "big rect",
"fillcolor": "rgba(179,179,179,1)",
"layer": "below",
"line": {
"color": "rgba(179,179,179,1)"
},
"type": "rect",
"x0": "C",
"x1": 0.25,
"xref": "x",
"y0": 0.0,
"y1": 1.0,
"yref": "paper"
},
{
"name": "dashed rect",
"fillcolor": "rgba(130,143,198,1)",
"layer": "between",
"line": {
"color": "rgba(0,0,0,1)",
"dash": "dash",
"width": 3.0
},
"type": "rect",
"x0": "D",
"x1": 5,
"y0": 140,
"y1": 200
}
],
"yaxis": {
"gridcolor": "red",
"insiderange": ["0", "215"],
"type": "linear"
},
"yaxis2": {
"gridwidth": 2,
"side": "right",
"overlaying": "y",
"tickmode": "auto"
}
}
}