title: how to parse json into highcharts
body: <p>The following:    </p>
  
  <pre><code>$.get('/api/ajax_prices/' + product +'/', afterEndexPricesLoaded)
  </code></pre>
  
  <p>Returns a json object</p>
  
  <pre><code>{"aaData": [
      [1, "70.1700", "2008-12-29 11:23:00"],
      [2, "70.2600", "2008-12-29 16:22:00"],
      [3, "70.6500", "2008-12-30 11:30:00"],
      [4, "70.8700", "2008-12-30 16:10:00"],
      [5, "70.5500", "2009-01-02 11:09:00"],
      [6, "70.6400", "2009-01-02 16:15:00"]
  ]}
  </code></pre>
  
  <p>I am trying to parse the json string into highchart</p>
  
  <p>This is the code I am trying it with (data = above json string):</p>
  
  <pre><code>function afterPricesLoaded(data, textStatus, xhr) {
  
      var options = {
          chart: {
              renderTo: 'graph'
          },
          title: {
              text: 'Some text',
              style: {
                  color: '#888888'
              }
          },
          xAxis: {
              type: 'datetime'
          }
          /*
          series: [{
  
              data: [
                  [Date.UTC(2011, 0, 0), 29.9],
                  [Date.UTC(2012, 0, 0), 71.5],
                  [Date.UTC(2013, 0, 0), 106.4]
              ]}
          ]*/
      };
  
      new Highcharts.Chart(options)
  }
  </code></pre>
  
  <p>How can I get the data into highchart series?</p>
  
  <p><strong>Edit</strong></p>
  
  <p><strong>Graphtype</strong> = <a href="http://www.highcharts.com/demo/line-basic" rel="nofollow">http://www.highcharts.com/demo/line-basic</a><br>
  <strong>Example</strong> = <a href="http://jsfiddle.net/kevink/9q4AT/" rel="nofollow">http://jsfiddle.net/kevink/9q4AT/</a></p>