public void drawAxis(Canvas canvas) {
		float postX,postY;
		Paint mPaint = new Paint();
		mPaint.setColor(lineColor);
		mPaint.setStrokeWidth(lineWidth);
		if (position == AXIS_X_POSITION_BOTTOM) {
			postY = lineWidth / 2;
			postX = getStartX();
			canvas.drawLine(postX,postY, postX + getWidth(),postY , mPaint);
		} else if (position == AXIS_X_POSITION_TOP) {
			postY = getHeight() - lineWidth / 2;
			postX = getStartX();
			canvas.drawLine(postX,postY, postX + getWidth(),postY , mPaint);
		} else if (position == AXIS_Y_POSITION_LEFT) {
			postX = getWidth() - lineWidth / 2;
			postY = getStartX();
			canvas.drawLine(postX,postY, postX,postY + getHeight() , mPaint);
		} else {
			postX = lineWidth / 2;
			postY = getStartY();
			canvas.drawLine(postX,postY, postX,postY + getHeight() , mPaint);
		}
	}
<p>en</p>
<p>jp</p>
<p>cn</p>

@author limc 
@version v1.0 2014/06/24 18:59:50
src/src/cn/limc/androidcharts/axis/Axis.java