private boolean isAxisVertical(int position) {
        if (LEFT == position || RIGHT == position) {
            return true;
        } else if (TOP == position || BOTTOM == position) {
            return false;
        } else {
            throw new IllegalArgumentException("Invalid axis position " + position);
        }
    }
Draw axes labels and names in the foreground.

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