@Override public void renderLimitLines(Canvas c){
  List<LimitLine> limitLines=mXAxis.getLimitLines();
  if (limitLines == null || limitLines.size() <= 0)   return;
  float[] position=new float[2];
  for (int i=0; i < limitLines.size(); i++) {
    LimitLine l=limitLines.get(i);
    if (!l.isEnabled())     continue;
    position[0]=l.getLimit();
    position[1]=0.f;
    mTrans.pointValuesToPixel(position);
    renderLimitLineLine(c,l,position);
    renderLimitLineLabel(c,l,position,2.f + l.getYOffset());
  }
}

@ Override public void renderLimitLines ( Canvas c ) { List < LimitLine > limitLines = mXAxis . getLimitLines ( ) ; if ( limitLines == null || limitLines . size ( ) <= 0 ) return ; float [ ] position = new float [ 2 ] ; for ( int i = 0 ; i < limitLines . size ( ) ; i ++ ) { LimitLine l = limitLines . get ( i ) ; if ( ! l . isEnabled ( ) ) continue ; position [ 0 ] = l . getLimit ( ) ; position [ 1 ] = 0.f ; mTrans . pointValuesToPixel ( position ) ; renderLimitLineLine ( c , l , position ) ; renderLimitLineLabel ( c , l , position , 2.f + l . getYOffset ( ) ) ; } }
draws the limitlines associated with this axis to the screen .
