title: How to get multiple data series into Highcharts
body: <p>The following code works:</p>
  
  <pre><code>var options1 = {
      chart: {
          renderTo: 'container1'
      },
      series: [{}]
      };
  
  $.getJSON('tokyo.jsn', function(data){
          options1.series[0].data = data;
          var chart = new Highcharts.Chart(options1);
      });
  </code></pre>
  
  <p>I want to be able to add a number of data series, so I am trying to take the reference to ‘new Highcharts’ out of the getJSON, but I don't seem to get it right. This following code does not work:</p>
  
  <pre><code>$.getJSON('tokyo.jsn', function(data){
      options1.series[0].data = data;
  });
  var chart = new Highcharts.Chart(options1);
  </code></pre>
  
  <p>I have also tried tackling it a different way but again the following code does not work:</p>
  
  <pre><code>var chart1 = new Highcharts.Chart({
      chart: {
          renderTo: 'container1'
      },
      series: [{}]
  });
  
  $.getJSON('tokyo.jsn', function(data){
      chart1.series[0].data = data;
  });
  </code></pre>
  
  <p>Can anyone point me in the correct direction. I need to be able to support multiple data series by doing  a second getJSON call like the following:</p>
  
  <pre><code>$.getJSON('sydney.jsn', function(data){
      options1.series[1].data = data;
  });
  </code></pre>
  
  <p>The JSON code I'm using is as follows:</p>
  
  <pre><code>[ 7.0, 6.9, 9.5, 14.5, 18.2, 21.5, 25.2, 26.5, 23.3, 18.3, 13.9, 9.6 ]
  </code></pre>
  
  <p>Thanks</p>