code: private void initAxis(Axis axis, int position) {
          if (null == axis) {
              return;
          }
          initAxisAttributes(axis, position);
          initAxisMargin(axis, position);
          initAxisMeasurements(axis, position);
      }
docs: Initialize attributes and measurement for axes(left, right, top, bottom);