question: protected void drawYLabels ( Map < Integer , List < Double > > allYLabels , Canvas canvas , Paint paint , int maxScaleNumber , int left , int right , int bottom , double [ ] yPixelsPerUnit , double [ ] minY ) { Orientation or = mRenderer . getOrientation ( ) ; boolean showGridX = mRenderer . isShowGridX ( ) ; boolean showLabels = mRenderer . isShowLabels ( ) ; boolean showTickMarks = mRenderer . isShowTickMarks ( ) ; paint . setTextSize ( mRenderer . getLabelsTextSize ( ) ) ; for ( int i = 0 ; i < maxScaleNumber ; i ++ ) { paint . setTextAlign ( mRenderer . getYLabelsAlign ( i ) ) ; List < Double > yLabels = allYLabels . get ( i ) ; int length = yLabels . size ( ) ; for ( int j = 0 ; j < length ; j ++ ) { double label = yLabels . get ( j ) ; int axisAlign = mRenderer . getYAxisAlign ( i ) ; boolean textLabel = mRenderer . getYTextLabel ( label , i ) != null ; float yLabel = ( float ) ( bottom - yPixelsPerUnit [ i ] * ( label - minY [ i ] ) ) ; if ( or == Orientation . HORIZONTAL ) { if ( showLabels && ! textLabel ) { paint . setColor ( mRenderer . getYLabelsColor ( i ) ) ; if ( axisAlign == Align . LEFT ) { if ( showTickMarks ) { canvas . drawLine ( left + getLabelLinePos ( axisAlign ) , yLabel , left , yLabel , paint ) ; } drawText ( canvas , getLabel ( mRenderer . getYLabelFormat ( i ) , label ) , left - mRenderer . getYLabelsPadding ( ) , yLabel - mRenderer . getYLabelsVerticalPadding ( ) , paint , mRenderer . getYLabelsAngle ( ) ) ; } else { if ( showTickMarks ) { canvas . drawLine ( right , yLabel , right + getLabelLinePos ( axisAlign ) , yLabel , paint ) ; } drawText ( canvas , getLabel ( mRenderer . getYLabelFormat ( i ) , label ) , right + mRenderer . getYLabelsPadding ( ) , yLabel - mRenderer . getYLabelsVerticalPadding ( ) , paint , mRenderer . getYLabelsAngle ( ) ) ; } } if ( showGridX ) { paint . setColor ( mRenderer . getGridColor ( i ) ) ; canvas . drawLine ( left , yLabel , right , yLabel , paint ) ; } } else if ( or == Orientation . VERTICAL ) { if ( showLabels && ! textLabel ) { paint . setColor ( mRenderer . getYLabelsColor ( i ) ) ; if ( showTickMarks ) { canvas . drawLine ( right - getLabelLinePos ( axisAlign ) , yLabel , right , yLabel , paint ) ; } drawText ( canvas , getLabel ( mRenderer . getLabelFormat ( ) , label ) , right + 10 + mRenderer . getYLabelsPadding ( ) , yLabel - mRenderer . getYLabelsVerticalPadding ( ) , paint , mRenderer . getYLabelsAngle ( ) ) ; } if ( showGridX ) { paint . setColor ( mRenderer . getGridColor ( i ) ) ; if ( showTickMarks ) { canvas . drawLine ( right , yLabel , left , yLabel , paint ) ; } } } } } }
target:  The graphical representation of the labels on the Y axis.