File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 38833883 }
38843884 }
38853885
3886- var h0 = height + 3 , gry0 = Math . round ( pmain . gry ( 0 ) ) ;
3887- if ( gry0 <= 0 ) h0 = - 3 ; else if ( gry0 < height ) h0 = gry0 ;
3886+ var fill_for_interactive = ! JSROOT . BatchMode && this . fillatt . empty ( ) && draw_hist && ( JSROOT . gStyle . Tooltip > 0 ) && ! draw_markers && ! show_line ,
3887+ h0 = height + 3 ;
3888+ if ( ! fill_for_interactive ) {
3889+ var gry0 = Math . round ( pmain . gry ( 0 ) ) ;
3890+ if ( gry0 <= 0 ) h0 = - 3 ; else if ( gry0 < height ) h0 = gry0 ;
3891+ }
38883892 var close_path = "L" + currx + "," + h0 + "L" + startx + "," + h0 + "Z" ;
38893893
38903894 if ( draw_markers || show_line ) {
39183922 }
39193923
39203924 if ( ( res . length > 0 ) && draw_hist ) {
3921- if ( ! this . fillatt . empty ( ) )
3925+ if ( ! this . fillatt . empty ( ) || fill_for_interactive )
39223926 res += close_path ;
39233927 this . draw_g . append ( "svg:path" )
39243928 . attr ( "d" , res )
You can’t perform that action at this time.
0 commit comments