protected void defineLabelsPos(float innerStart,float innerEnd){
  labelsPos=new ArrayList<Float>(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;
  }
}

protected void defineLabelsPos ( float innerStart , float innerEnd ) { labelsPos = new ArrayList < Float > ( 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 ; } }
calculates the position of each label along the axis .
