title: Create highcharts chart using AJAX/JSON
body: <p>I am building a website that uses the Highcharts library to display a single line series chart. I am using AJAX to retrieve historical financial data from yahoo finance using their YQL.</p>
  
  <p>The ajax call is working correctly and I can view the returned data in the console for example    </p>
  
  <p><code>console.log( data.query.results.quote[0].Close );</code>
  returns the closing price value <code>457.84</code></p>
  
  <p>How do I now build the single line series chart using this data?</p>
  
  <p>I cannot find a simple explanation anywhere of how to create the chart using AJAX data.</p>
  
  <p>Thanks</p>
  
  <p>edit: I am fetching the data in AJAX and it works correctly but trying to make the chart work with JSON is where im having difficulties.</p>
  
  <p>This is what my code currently looks like: <a href="http://jsfiddle.net/JbGvx/" rel="nofollow">http://jsfiddle.net/JbGvx/</a> </p>
  
  <p>This is the demo code off the HighStocks website: <a href="http://jsfiddle.net/xDhkz/" rel="nofollow">http://jsfiddle.net/xDhkz/</a></p>
  
  <p>I think the problem is with the date formatting of the AJAX request. The date is being returned like so 2013-02-25 but the chart wants JS timestamps. Is there a way that I can extract the date from the AJAX, convert it using Date.UTC and then make the chart using the converted data?</p>