@@ -35,7 +35,8 @@ describe("Figure", function() {
3535 { "name" : "" , "cx" : 3 , "cy" : 3 , "type_" : "point" } ,
3636 { "name" : "" , "cx" : 8 , "cy" : 3 , "type_" : "point" } ,
3737 { "name" : "" , "data" : [ 66 , 11.5 , 73 , 11.5 ] , "point1" : [ 66 , 11.5 ] , "point2" : [ 73 , 11.5 ] , "type_" : "linesegment2d" }
38- ]
38+ ] ,
39+ "axis_on" : true
3940 } ;
4041
4142 it ( 'should create a new instance of Figure from multiplot data with valid arguments' , function ( ) {
@@ -209,7 +210,8 @@ describe("Histogram", function() {
209210 { "name" : "" , "values" : { "x" : 3 , "y" : 2 } , "x" : 3 , "y" : 2 } ,
210211 { "name" : "" , "values" : { "x" : 4 , "y" : 3 } , "x" : 4 , "y" : 3 }
211212 ] ,
212- "type_" : "histogram"
213+ "type_" : "histogram" ,
214+ "axis_on" : true
213215 } ;
214216 const histogram = new Histogram ( data , canvas . width , canvas . height , 0 , 0 , canvasID , false ) ;
215217 histogram . setCanvas ( canvas . id ) ;
@@ -270,7 +272,8 @@ describe("Scatter", function() {
270272 { "name" : "" , "values" : { "x" : 3 , "y" : 2 } , "x" : 3 , "y" : 2 } ,
271273 { "name" : "" , "values" : { "x" : 4 , "y" : 3 } , "x" : 4 , "y" : 3 }
272274 ] ,
273- "type_" : "scatterplot"
275+ "type_" : "scatterplot" ,
276+ "axis_on" : true
274277 }
275278 const scatter = new Scatter ( data , canvas . width , canvas . height , 0 , 0 , canvasID , false ) ;
276279 const frameMatrix = new DOMMatrix ( [
@@ -334,7 +337,8 @@ describe("Graph2D", function() {
334337 ]
335338 } ,
336339 ] ,
337- "type_" : "graph2d"
340+ "type_" : "graph2d" ,
341+ "axis_on" : true
338342 }
339343 const graph = new Graph2D ( data , canvas . width , canvas . height , 0 , 0 , canvasID , false ) ;
340344
@@ -366,7 +370,8 @@ describe("ParallelPlot", function() {
366370 { "name" : "" , "values" : { "x" : 3 , "y" : 2 , "z" : 2 } , "x" : 3 , "y" : 2 , "z" : 2 } ,
367371 { "name" : "" , "values" : { "x" : 4 , "y" : 3 , "z" : 5 } , "x" : 4 , "y" : 3 , "z" : 5 }
368372 ] ,
369- "type_" : "parallelplot"
373+ "type_" : "parallelplot" ,
374+ "axis_on" : true
370375 }
371376 const parallelplot = new ParallelPlot ( data , canvas . width , canvas . height , 0 , 0 , canvasID , false ) ;
372377 parallelplot . setCanvas ( canvas . id ) ;
0 commit comments