code: function () {
              var series = this,
                chart = series.chart,
                wasDirtyData = series.isDirtyData, // cache it here as it is set to false in render, but used after
                group = series.group,
                xAxis = series.xAxis,
                yAxis = series.yAxis;
  
              // reposition on resize
              if (group) {
                  if (chart.inverted) {
                      group.attr({
                          width: chart.plotWidth,
                          height: chart.plotHeight
                      });
                  }
  
                  group.animate({
                      translateX: pick(xAxis && xAxis.left, chart.plotLeft),
                      translateY: pick(yAxis && yAxis.top, chart.plotTop)
                  });
              }
  
              series.translate();
              if (series.setTooltipPoints) {
                  series.setTooltipPoints(true);
              }
              series.render();
  
              if (wasDirtyData) {
                  fireEvent(series, 'updatedData');
              }
          }
docs: Redraw the series after an update in the axes.