code: function updatePolarScale(ecModel, api) {
      var polar = this;
      var angleAxis = polar.getAngleAxis();
      var radiusAxis = polar.getRadiusAxis();
      // Reset scale
      angleAxis.scale.setExtent(Infinity, -Infinity);
      radiusAxis.scale.setExtent(Infinity, -Infinity);
  
      ecModel.eachSeries(function (seriesModel) {
          if (seriesModel.coordinateSystem === polar) {
              var data = seriesModel.getData();
              zrUtil.each(data.mapDimension('radius', true), function (dim) {
                  radiusAxis.scale.unionExtentFromData(
                      data, getStackedDimension(data, dim)
                  );
              });
              zrUtil.each(data.mapDimension('angle', true), function (dim) {
                  angleAxis.scale.unionExtentFromData(
                      data, getStackedDimension(data, dim)
                  );
              });
          }
      });
  
      niceScaleExtent(angleAxis.scale, angleAxis.model);
      niceScaleExtent(radiusAxis.scale, radiusAxis.model);
  
      // Fix extent of category angle axis
      if (angleAxis.type === 'category' && !angleAxis.onBand) {
          var extent = angleAxis.getExtent();
          var diff = 360 / angleAxis.scale.count();
          angleAxis.inverse ? (extent[1] += diff) : (extent[1] -= diff);
          angleAxis.setExtent(extent[0], extent[1]);
      }
  }
docs: Update polar