File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ async function treeDrawProgress(obj, final) {
112112 if ( final ) console . log ( 'no result after tree drawing' ) ;
113113 this . last_pr = false ; // return false indicating no drawing is done
114114 } else {
115- this . last_pr = drawTreeDrawResult ( this . drawid , obj ) . then ( p => {
115+ this . last_pr = drawTreeDrawResult ( this . drawid , obj , this . drawopt ) . then ( p => {
116116 this . obj_painter = p ;
117117 if ( ! final ) this . last_pr = null ;
118118 return p ; // return painter for histogram
Original file line number Diff line number Diff line change @@ -875,9 +875,13 @@ class TDrawSelector extends TSelector {
875875
876876 if ( args . drawopt !== undefined )
877877 this . histo_drawopt = args . drawopt ;
878+ else if ( this . graph )
879+ this . histo_drawopt = 'P' ;
878880 else
879881 this . histo_drawopt = ( this . ndim === 2 ) ? 'col' : '' ;
880882
883+ args . drawopt = this . histo_drawopt ;
884+
881885 return true ;
882886 }
883887
You can’t perform that action at this time.
0 commit comments