title: Highstock - Pulling data from JSON file
body: <p>I understand there are many similar questions related to this topic on SO however, I was unsuccessful at implementing what I am trying to do so I am writing a question here. Please understand that I am very new.</p>
  
  <p>So, basically, using the Highstock - the basic graph which can be found here <a href="http://www.highcharts.com/stock/demo/basic-line" rel="nofollow">http://www.highcharts.com/stock/demo/basic-line</a>, I want to import the data from an JSON file named Json1.json. How would I do this? <a href="http://jsfiddle.net/x0g8hL0e/1/" rel="nofollow">http://jsfiddle.net/x0g8hL0e/1/</a></p>
  
  <p>In the JavaScript, I have written </p>
  
  <pre><code>$(function () {
  
      $.getJSON('Json1.json', function (data) {
          // Create the chart
          $('#container').highcharts('StockChart', {
  
  
              rangeSelector : {
                  selected : 1
              },
  
              title : {
                  text : 'Pressure'
              },
  
          });
      });
  
  });
  </code></pre>
  
  <p>Also, is it possible to just see the 24 hour format instead of a year-long? </p>
  
  <p>P.S, Json data is formatted in this way</p>
  
  <pre><code>[
  {"Pressure": 1},
  {"Pressure": 5},
  {"Pressure": 3},
  {"Pressure": 2},
  {"Pressure": 4}
  }]
  </code></pre>