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

Skip to content

Commit 5737d0a

Browse files
committed
edited mock and replaced undefined cases with null for JSON
1 parent f180f4c commit 5737d0a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

test/image/mocks/gl3d_scatter3d-blank-text.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,18 @@
2525
"y": [2,2,2,2,2,2,2,2,2,2,2, 2, 2, 2, 2, 2, 2, 2, 2, 2],
2626
"z": [0,1,0,2,0,3,0,4,0,5,0, 6, 0, 7, 0, 8, 0, 9, 0, 10],
2727

28-
"text": [0,1e-3,0.1,"A","B","C","D","E","F","G",null,"I",,"K","L","M","N",{text:"X", "value":10.01},"Y","Zzz"],
28+
"text": [0,1e-3,0.1,"A","B","C","D","E","F","G",null,"I",null,"K","L","M","N",{"text":"X", "value":10.01},"Y","Zzz"],
2929

3030
"type": "scatter3d",
3131
"mode":"lines+text",
32-
"line":{ width: 5 }
32+
"line":{ "width": 5 }
3333
},
3434
{
3535
"x": [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19],
3636
"y": [3,3,3,3,3,3,3,3,3,3,3, 3, 3, 3, 3, 3, 3, 3, 3, 3],
3737
"z": [0,1,0,2,0,3,0,4,0,5,0, 6, 0, 7, 0, 8, 0, 9, 0, 10],
3838

39-
"text": [0,0.0,-0,-0.0,"","0"," ","E","\n","G",null,"I",,"K",,,,"X"],
39+
"text": [0,0.0,-0,-0.0,"","0"," ","E","\n","G",null,"I",null,"K",null,null,null,"X"],
4040

4141
"type": "scatter3d",
4242
"mode":"lines+text",
@@ -50,9 +50,9 @@
5050
"height": 900,
5151
"scene":{
5252
"camera":{
53-
"eye":{x:-1.25,y:1.25,z:1.25},
54-
"center":{x:0,y:0,z:0},
55-
"up":{x:0,y:0,z:1}
53+
"eye":{"x":-1.25,"y":1.25,"z":1.25},
54+
"center":{"x":0,"y":0,"z":0},
55+
"up":{"x":0,"y":0,"z":1}
5656
}
5757
}
5858
}

0 commit comments

Comments
 (0)