question: private boolean isMajorTick ( double tickValue ) { if ( ! scale . isLogScaleEnabled ( ) ) { return true ; } if ( Math . log10 ( tickValue ) % 1 == 0 ) { return true ; } return false ; }
target:  Checks if the tick label is major (...,0.01,0.1,1,10,100,...).