@@ -1426,9 +1426,9 @@ describe('waterfall hover', function() {
1426
1426
. then ( function ( ) {
1427
1427
assertHoverLabelContent ( {
1428
1428
nums : [
1429
- '1001\nHover text A\n1001\ n1 ▲\nInitial: 1000' ,
1430
- '1002\nHover text G\n1002\ n2 ▲\nInitial: 1000' ,
1431
- '1,001.5\na (hover)\n1,001.5\n1 .5 ▲\nInitial: 1000'
1429
+ '1001\nHover text A\n1 ▲\nInitial: 1000' ,
1430
+ '1002\nHover text G\n2 ▲\nInitial: 1000' ,
1431
+ '1,001.5\na (hover)\n1.5 ▲\nInitial: 1000'
1432
1432
] ,
1433
1433
name : [ 'Lines, Marke...' , 'Lines and Text' , 'missing text' ] ,
1434
1434
axis : '0'
@@ -1486,7 +1486,7 @@ describe('waterfall hover', function() {
1486
1486
} )
1487
1487
. then ( function ( ) {
1488
1488
assertHoverLabelContent ( {
1489
- nums : '2.2\n2.2\ n4.4 ▲\nInitial: −2.2' ,
1489
+ nums : '2.2\n4.4 ▲\nInitial: −2.2' ,
1490
1490
name : '' ,
1491
1491
axis : 'E'
1492
1492
} ) ;
@@ -1528,7 +1528,7 @@ describe('waterfall hover', function() {
1528
1528
. then ( function ( ) {
1529
1529
var out = _hover ( gd , 1 , 1000.5 , 'closest' ) ;
1530
1530
expect ( out . yLabelVal ) . toEqual ( 1001.101 ) ;
1531
- expect ( out . extraText ) . toEqual ( '$1,001.101m<br> ($1.1m) ▼<br>Initial: $1,002.201m' ) ;
1531
+ expect ( out . extraText ) . toEqual ( '($1.1m) ▼<br>Initial: $1,002.201m' ) ;
1532
1532
expect ( out . style ) . toEqual ( [ 1 , '#FF4136' , 1 , 1001.101 ] ) ;
1533
1533
} )
1534
1534
. then ( function ( ) {
@@ -1540,7 +1540,7 @@ describe('waterfall hover', function() {
1540
1540
. then ( function ( ) {
1541
1541
var out = _hover ( gd , 3 , 1000.5 , 'closest' ) ;
1542
1542
expect ( out . yLabelVal ) . toEqual ( 1004.401 ) ;
1543
- expect ( out . extraText ) . toEqual ( '$1,004.401m<br>$ 3.3m ▲<br>Initial: $1,001.101m' ) ;
1543
+ expect ( out . extraText ) . toEqual ( '$3.3m ▲<br>Initial: $1,001.101m' ) ;
1544
1544
expect ( out . style ) . toEqual ( [ 3 , '#3D9970' , 3 , 1004.401 ] ) ;
1545
1545
} )
1546
1546
. then ( function ( ) {
0 commit comments