code: function (axisModel, api) {
          this._rect = getLayoutRect(
              {
                  left: axisModel.get('left'),
                  top: axisModel.get('top'),
                  right: axisModel.get('right'),
                  bottom: axisModel.get('bottom'),
                  width: axisModel.get('width'),
                  height: axisModel.get('height')
              },
              {
                  width: api.getWidth(),
                  height: api.getHeight()
              }
          );
  
          this._adjustAxis();
      }
docs: Resize the single coordinate system.
  
  @param  {module:echarts/coord/single/AxisModel} axisModel
  @param  {module:echarts/ExtensionAPI} api