@@ -330,7 +330,7 @@ describe('Bar.setPositions', function() {
330
330
var cd = gd . calcdata ;
331
331
assertPointField ( cd , 'b' , [ [ 0 , 0 , 0 ] , [ 0 , 0 , 0 ] , [ 0 , 0 , 0 ] ] ) ;
332
332
assertPointField ( cd , 's' , [ [ 1 , 2 , 3 ] , [ 10 , 20 , 30 ] , [ - 1 , - 2 , - 3 ] ] ) ;
333
- assertPointField ( cd , 'x' , [ [ - 0.25 , 0.75 , 1.75 ] , [ 0.25 , 1.25 , 2.25 ] , [ 0 , 1 , 2 ] ] ) ;
333
+ assertPointField ( cd , 'x' , [ [ - 0.25 , 0.75 , 1.75 ] , [ 0.25 , 1.25 , 2.25 ] , [ - 0.5 , 0.5 , 1.5 ] ] ) ;
334
334
assertPointField ( cd , 'y' , [ [ 1 , 2 , 3 ] , [ 10 , 20 , 30 ] , [ - 1 , - 2 , - 3 ] ] ) ;
335
335
} ) ;
336
336
@@ -407,7 +407,7 @@ describe('Bar.setPositions', function() {
407
407
var cd = gd . calcdata ;
408
408
assertPointField ( cd , 'b' , [ [ 0 , 0 , 0 ] ] ) ;
409
409
assertPointField ( cd , 's' , [ [ 100 , 100 , 100 ] ] ) ;
410
- assertPointField ( cd , 'x' , [ [ 0 , 1 , 2 ] ] ) ;
410
+ assertPointField ( cd , 'x' , [ [ 0.5 , 1.5 , 2.5 ] ] ) ;
411
411
assertPointField ( cd , 'y' , [ [ 100 , 100 , 100 ] ] ) ;
412
412
} ) ;
413
413
@@ -426,7 +426,7 @@ describe('Bar.setPositions', function() {
426
426
var cd = gd . calcdata ;
427
427
assertPointField ( cd , 'b' , [ [ 0 , 0 , 0 ] ] ) ;
428
428
assertPointField ( cd , 's' , [ [ 100 , 100 , 100 ] ] ) ;
429
- assertPointField ( cd , 'x' , [ [ 0 , 1 , 2 ] ] ) ;
429
+ assertPointField ( cd , 'x' , [ [ 0.5 , 1.5 , 2.5 ] ] ) ;
430
430
assertPointField ( cd , 'y' , [ [ 100 , 100 , 100 ] ] ) ;
431
431
} ) ;
432
432
0 commit comments