private void initAxisAttributes(Axis axis, int position) {
        initAxisPaints(axis, position);
        initAxisTextAlignment(axis, position);
        if (axis.hasTiltedLabels()) {
            initAxisDimensionForTiltedLabels(position);
            intiTiltedLabelsTranslation(axis, position);
        } else {
            initAxisDimension(position);
        }
    }
Initialize attributes and measurement for axes(left, right, top, bottom);
hellocharts-library/src/lecho/lib/hellocharts/renderer/AxesRenderer.java