private void prepareAxisToDraw(Axis axis, int position) {
        if (axis.isAutoGenerated()) {
            prepareAutoGeneratedAxis(axis, position);
        } else {
            prepareCustomAxis(axis, position);
        }
    }
Prepare axes coordinates and draw axes lines(if enabled) in the background.

@param canvas
hellocharts-library/src/lecho/lib/hellocharts/renderer/AxesRenderer.java