code: function () {
              var chart = this,
                axes = chart.axes,
                renderer = chart.renderer,
                options = chart.options;
  
              // Title
              chart.setTitle();
  
  
              // Legend
              chart.legend = new Legend(chart, options.legend);
  
              chart.getStacks(); // render stacks
  
              // Get margins by pre-rendering axes
              // set axes scales
              each(axes, function (axis) {
                  axis.setScale();
              });
  
              chart.getMargins();
  
              chart.maxTicks = null; // reset for second pass
              each(axes, function (axis) {
                  axis.setTickPositions(true); // update to reflect the new margins
                  axis.setMaxTicks();
              });
              chart.adjustTickAmounts();
              chart.getMargins(); // second pass to check for new labels
  
  
              // Draw the borders and backgrounds
              chart.drawChartBox();
  
  
              // Axes
              if (chart.hasCartesianSeries) {
                  each(axes, function (axis) {
                      axis.render();
                  });
              }
  
              // The series
              if (!chart.seriesGroup) {
                  chart.seriesGroup = renderer.g('series-group')
                    .attr({ zIndex: 3 })
                    .add();
              }
              chart.renderSeries();
  
              // Labels
              chart.renderLabels();
  
              // Credits
              chart.showCredits(options.credits);
  
              // Set flag
              chart.hasRendered = true;
  
          }
docs: Render all graphics for the chart