Issue with HighChart's StockChart. Getting highcharts is not a function
问题 So I have two doubts: Q1: I am unable to understand the difference between the two ways to initialize a High Chart: 1st way: var lineChart = new Highcharts.Chart( { chart: { alignTicks: true, type : 'StockChart', renderTo : 'container', ... 2nd way: $('#container').highcharts('StockChart', { chart: { alignTicks: true, type : 'StockChart', renderTo : 'container', ... Q2: When Using the 2nd way on http://jsfiddle.net/ezk2mg72/ I am able to get desired result but when trying in local I am