question: 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 -- ; } }
target:  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.