@@ -503,15 +503,15 @@ class MultiFocus {
503503 . attr ( 'stroke-opacity' , '1.0' ) ;
504504 d3 . select ( `#bpt${ Math . round ( 1000 * d . x ) } ` )
505505 . style ( 'fill' , 'blue' ) ;
506- const tipParams = { d, layout : this . layout } ;
506+ const tipParams = { d, layout : this . layout , yFactor : this . yTransformFactor } ;
507507 this . tip . show ( tipParams , event . target ) ;
508508 } )
509509 . on ( 'mouseout' , ( event , d ) => {
510510 d3 . select ( `#mpp${ Math . round ( 1000 * d . x ) } ` )
511511 . attr ( 'stroke-opacity' , '0.0' ) ;
512512 d3 . select ( `#bpt${ Math . round ( 1000 * d . x ) } ` )
513513 . style ( 'fill' , 'red' ) ;
514- const tipParams = { d, layout : this . layout } ;
514+ const tipParams = { d, layout : this . layout , yFactor : this . yTransformFactor } ;
515515 this . tip . hide ( tipParams , event . target ) ;
516516 } )
517517 . on ( 'click' , ( event , d ) => this . onClickTarget ( event , d ) ) ;
@@ -589,15 +589,15 @@ class MultiFocus {
589589 . attr ( 'stroke-opacity' , '1.0' ) ;
590590 d3 . select ( `#bpt${ Math . round ( 1000 * d . x ) } ` )
591591 . style ( 'fill' , 'blue' ) ;
592- const tipParams = { d, layout : this . layout } ;
592+ const tipParams = { d, layout : this . layout , yFactor : this . yTransformFactor } ;
593593 this . tip . show ( tipParams , event . target ) ;
594594 } )
595595 . on ( 'mouseout' , ( event , d ) => {
596596 d3 . select ( `#mpp${ Math . round ( 1000 * d . x ) } ` )
597597 . attr ( 'stroke-opacity' , '0.0' ) ;
598598 d3 . select ( `#bpt${ Math . round ( 1000 * d . x ) } ` )
599599 . style ( 'fill' , '#228B22' ) ;
600- const tipParams = { d, layout : this . layout } ;
600+ const tipParams = { d, layout : this . layout , yFactor : this . yTransformFactor } ;
601601 this . tip . hide ( tipParams , event . target ) ;
602602 } )
603603 . on ( 'click' , ( event , d ) => this . onClickPecker ( event , d ) ) ;
0 commit comments