@@ -1426,9 +1426,9 @@ describe('waterfall hover', function() {
14261426 . then ( function ( ) {
14271427 assertHoverLabelContent ( {
14281428 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'
14321432 ] ,
14331433 name : [ 'Lines, Marke...' , 'Lines and Text' , 'missing text' ] ,
14341434 axis : '0'
@@ -1486,7 +1486,7 @@ describe('waterfall hover', function() {
14861486 } )
14871487 . then ( function ( ) {
14881488 assertHoverLabelContent ( {
1489- nums : '2.2\n2.2\ n4.4 ▲\nInitial: −2.2' ,
1489+ nums : '2.2\n4.4 ▲\nInitial: −2.2' ,
14901490 name : '' ,
14911491 axis : 'E'
14921492 } ) ;
@@ -1528,7 +1528,7 @@ describe('waterfall hover', function() {
15281528 . then ( function ( ) {
15291529 var out = _hover ( gd , 1 , 1000.5 , 'closest' ) ;
15301530 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' ) ;
15321532 expect ( out . style ) . toEqual ( [ 1 , '#FF4136' , 1 , 1001.101 ] ) ;
15331533 } )
15341534 . then ( function ( ) {
@@ -1540,7 +1540,7 @@ describe('waterfall hover', function() {
15401540 . then ( function ( ) {
15411541 var out = _hover ( gd , 3 , 1000.5 , 'closest' ) ;
15421542 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' ) ;
15441544 expect ( out . style ) . toEqual ( [ 3 , '#3D9970' , 3 , 1004.401 ] ) ;
15451545 } )
15461546 . then ( function ( ) {
0 commit comments