title: Highstock - How to add multiple series with JSON-Array
body: <p>My target: I want to draw HighStock-chart with multiple series. Data is loaded by AJAX from data.php. The output of data.php is an JSON-Array </p>
  
  <p>My problem: I don't know hot to grab the data from JSON Array</p>
  
  <p>The output is e.g</p>
  
  <p><strong>[[timestamp,value1,value2],[timestamp,value1,value2]]</strong></p>
  
  <p>Series 1 should be -> timestamp and value1</p>
  
  <p>Series 2 should be -> timestamp and value2</p>
  
  <p>This is my code</p>
  
  <pre><code>// Draw the chart
  $(function(){
  
          /* The chart is drawn by getting the specific data from "data.php".
           * The configuration settings are transmitted by GET-Method. The output is an JSON-Array.  */
  
          $.getJSON('data.php',
          function(data) {
  
  
          chart = new Highcharts.StockChart
          ({
          chart:  {  renderTo: 'chartcontainer', type: 'line'  },
          title:  { text: 'You see the data of the last hour!' },
          xAxis: {  type: 'datetime', title: { text: 'time'  } },
          yAxis: { title: { text: 'unit'  } },
          series: [{ name: 'series1', data: data },{ name: 'series2', data: data }],
  
          });
      });
  });
  </code></pre>
  
  <p>I think i have to change</p>
  
  <pre><code>series: [{ name: 'series1', data: data },{ name: 'series2', data: data }],
  </code></pre>
  
  <p>But I dont know in to what</p>