protected void calculateLogAxis(){
  int mLogMax=getMaxValue(values);
  int mLogMin=getMinValue(values);
  int size=mLogMax - mLogMin + 1;
  for (int index=0; index < size; index++) {
    int num=(int)Math.pow(10,mLogMax);
    paint.setTextSize(18);
    create_y_axis(index,formatNum((double)num,0),size - 1);
    mLogMax--;
  }
}

protected void calculateLogAxis ( ) { int mLogMax = getMaxValue ( values ) ; int mLogMin = getMinValue ( values ) ; int size = mLogMax - mLogMin + 1 ; for ( int index = 0 ; index < size ; index ++ ) { int num = ( int ) Math . pow ( 10 , mLogMax ) ; paint . setTextSize ( 18 ) ; create_y_axis ( index , formatNum ( ( double ) num , 0 ) , size - 1 ) ; mLogMax -- ; } }
this method is used to create logarithmic y - axis according to the min and max fetched from the data set provided by the user . it fetches the min and max value , calculates the relative log power to the base value and initiates the process to plot the y - axis .
