Skip to content

Commit b153b2d

Browse files
committed
add mock
1 parent 7071ff9 commit b153b2d

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"data":[{
3+
"x":[0,10],
4+
"y":[0,10],
5+
"mode":"markers"
6+
}],
7+
"layout": {
8+
"xaxis":{"title":{"text":"linear"},"range":[0,10],"type":"linear","showgrid":false,"zeroline":false,"showticklabels":false},
9+
"yaxis":{"title":{"text":"linear"},"range":[0,10],"type":"linear","showgrid":false,"zeroline":false,"showticklabels":false},
10+
"height":400,
11+
"width":800,
12+
"margin": {"l":20,"r":20,"pad":0},
13+
"showlegend":false,
14+
"shapes":[
15+
{"label":{"text":"this will be overridden", "texttemplate": "Here is x0 divided by 2: %{x0/2:.2f}"}, "layer":"below","x0":2,"x1":5,"y0":6,"y1":9,"opacity":0.5,"fillcolor":"#05e","line":{"width":3,"color":"#025","dash":"dashdot"}, "editable": true},
16+
{"label":{"text":"this will be overridden", "texttemplate": "Here is the slope: %{slope:.3f}"}, "layer":"below","x0":5,"x1":9,"y0":2.5,"y1":9,"type": "line", "opacity":0.5,"fillcolor":"#05e","line":{"width":3,"color":"#025"}, "editable": true}
17+
]
18+
}
19+
}

0 commit comments

Comments
 (0)