question: void defineLabelsPos ( float innerStart , float innerEnd ) { labelsPos = new ArrayList < > ( nLabels ) ; screenStep = ( innerEnd - innerStart - topSpacing - borderSpacing * 2 - mandatoryBorderSpacing * 2 ) / ( nLabels - 1 ) ; float currPos = innerStart + borderSpacing + mandatoryBorderSpacing ; for ( int i = 0 ; i < nLabels ; i ++ ) { labelsPos . add ( currPos ) ; currPos += screenStep ; } }
target:  Calculates the position of each label along the axis.