title: Highchart and json data
body: <p>My JSON looks likes this, and I want to make a Highchart, showing show many signups that have been each hour. So my X-axis would be a count of the number of timestamp with the same day and hour.</p>
  
  <pre><code>[{"data":"2016-04-11 20:18:41"},{"data":"2016-04-11 20:18:41"},{"data":"2016-04-11 12:18:40"},{"data":"2016-04-11 13:18:40"},{"data":"2016-04-11 13:18:34"},{"data":"2016-04-11 14:18:34"},{"data":"2016-04-11 15:18:34"},{"data":"2016-04-11 15:18:30"},{"data":"2016-04-11 19:18:29"},{"data":"2016-04-11 19:18:29"},{"data":"2016-04-11 20:18:18"},{"data":"2016-04-11 21:18:12"},{"data":"2016-04-11 22:18:09"},{"data":"2016-04-11 23:18:08"}];
  </code></pre>
  
  <p>I'm pretty stuck. It seems like the JSON is formatted in a wrong way or something.</p>
  
  <pre class="lang-js prettyprint-override"><code>$(function() {
    $.getJSON('json/json.php', function(data) {
      //console.log(data);
      // Create the chart
      $('#container').highcharts('StockChart', {
        rangeSelector: {
          selected: 1
        },
        xAxis: {
          type: 'datetime'
        },
        title: {
          text: 'test'
        },
  
        series: [{
          name: 'signups',
          data: data,
          turboThreshold: 0
        }]
      });
    });
  });
  </code></pre>
  
  <hr>
  
  <h3>Edit</h3>
  
  <p>I managed to make my data like this:</p>
  
  <pre><code>[{"TS":"2016-04-12 00:00:05","COUNT":"187"},{"TS":"2016-04-12 01:00:30","COUNT":"75"},{"TS":"2016-04-12 02:00:56","COUNT":"32"},
  </code></pre>
  
  <p>How does I make it as X and Y values in my chart?</p>