private boolean isMajorTick(double tickValue){
  if (!scale.isLogScaleEnabled()) {
    return true;
  }
  if (Math.log10(tickValue) % 1 == 0) {
    return true;
  }
  return false;
}

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