protected void calcModulus(){
  float[] values=new float[9];
  mMatrixTouch.getValues(values);
  mLegendGridModulus=(int)Math.ceil((mData.getXValCount() * mXLegendWidth) / (mContentRect.width() * values[Matrix.MSCALE_X]));
}

protected void calcModulus ( ) { float [ ] values = new float [ 9 ] ; mMatrixTouch . getValues ( values ) ; mLegendGridModulus = ( int ) Math . ceil ( ( mData . getXValCount ( ) * mXLegendWidth ) / ( mContentRect . width ( ) * values [ Matrix . MSCALE_X ] ) ) ; }
calculates the modulus for legend and grid
