@ -321,6 +321,7 @@ export class LinePod extends ChartwerkPod<LineTimeSerie, LineOptions> {
}
}
onMouseOver ( ) : void {
onMouseOver ( ) : void {
this . onMouseMove ( ) ;
this . crosshair . style ( 'display' , null ) ;
this . crosshair . style ( 'display' , null ) ;
this . crosshair . selectAll ( '.crosshair-circle' )
this . crosshair . selectAll ( '.crosshair-circle' )
. style ( 'display' , null ) ;
. style ( 'display' , null ) ;
@ -335,6 +336,11 @@ export class LinePod extends ChartwerkPod<LineTimeSerie, LineOptions> {
return this . options . doubleClickEvent . isActive ;
return this . options . doubleClickEvent . isActive ;
}
}
protected onBrushEnd ( ) : void {
super . onBrushEnd ( ) ;
this . onMouseOver ( ) ;
}
// methods below rewrite s, (move more methods here)
// methods below rewrite s, (move more methods here)
protected zoomOut ( ) : void {
protected zoomOut ( ) : void {
if ( d3 . event . type === 'dblclick' && ! this . isDoubleClickActive ( ) ) {
if ( d3 . event . type === 'dblclick' && ! this . isDoubleClickActive ( ) ) {