Highcharts.getJSON('https://demo-live-data.highcharts.com/aapl-ohlcv.json', function (data) { Highcharts.stockChart('container', { title: { text: 'Candlestick and Heiken Ashi series comparison.', align: 'left' }, rangeSelector: { selected: 1 }, yAxis: [{ title: { text: 'Candlestick' }, height: '50%' }, { title: { text: 'Heikin Ashi' }, top: '50%', height: '50%', offset: 0 }], series: [{ type: 'candlestick', name: 'Candlestick', data: data }, { type: 'heikinashi', name: 'Heikin Ashi', data: data, yAxis: 1 }] }); });
Install with NPM
The official Highcharts NPM package comes with support for CommonJS and contains Highcharts, and its Stock, Maps and Gantt packages.
npm install highcharts --save
See more installation optionsDownload our library
The zip archive contains Javascript files and examples. Unzip the zip package and open index.html in your browser to see the examples.
DownloadBuy a license
You can download and try out all Highcharts products for free. Once your project/product is ready for launch, purchase a commercial license.
See License Pricing