public void setSurvivalData ( ArrayList < String > title , SurvFitInfo sfi , Double userSetMaxTime ) { this . title = title ; LinkedHashMap < String , StrataInfo > strataInfoHashMap = sfi . getStrataInfoHashMap ( ) ; Double mTime = null ; for ( StrataInfo si : strataInfoHashMap . values ( ) ) { for ( double t : si . getTime ( ) ) { if ( mTime == null || t > mTime ) { mTime = t ; } } } int evenCheck = Math . round ( mTime . floatValue ( ) ) ; if ( evenCheck % 2 == 1 ) { evenCheck = evenCheck + 1 ; } this . maxTime = evenCheck ; if ( userSetMaxTime != null && userSetMaxTime > maxTime ) { this . maxTime = userSetMaxTime ; } this . sfi = sfi ; if ( sfi . getStrataInfoHashMap ( ) . size ( ) == 1 ) { return ; } this . repaint ( ) ; }
Allow setting of points in the figure where weighted correction has been done and percentage has already been calculated .