I'm a beginner with HIGHCHARTS.
I want to start from this example: http://people.canonical.com/~bradf/media/highstock/examples/basic-line/index.htm
$(function() {
  $.getJSON('http://www.highcharts.com/samples/data/jsonp.php?filename=aapl-c.json&callback=?', function(data) {
    // Create the chart
    window.chart = new Highcharts.StockChart({
      chart: {
        renderTo: 'container'
      },
      rangeSelector: {
        selected: 1
      },
      title: {
        text: 'AAPL Stock Price'
      },
      series: [{
        name: 'AAPL',
        data: data,
        tooltip: {
          valueDecimals: 2
        }
      }]
    });
  });
});<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script src="http://code.highcharts.com/stock/highstock.js"></script>
<script src="http://code.highcharts.com/stock/modules/exporting.js"></script>
<div id="container" style="height: 500px; min-width: 500px"></div>I downloaded the corresponding JSON file :
http://chartapi.finance.yahoo.com/instrument/1.0/PTC/chartdata;type=quote;range=1d/json/
And I want to run it locally (and after test it with my own JSON files). But it doesn't works!
I use the source code of the example, I've just modified the getJSON line.
I have this:-
  $.getJSON('./data/json/'+ name+'-c.json&callback=?', function(data) { ....... }
I think that the issue comes from the callback.Any ideas?
 
     
     
    