Stacked bar
// Data retrieved from: https://ferjedatabanken.no/statistikk Highcharts.chart('container', { chart: { type: 'bar' }, title: { text: 'Ferry passengers by vehicle type 2024', align: 'left' }, xAxis: { categories: [ 'January', 'February', 'March', 'April', 'May' ] }, yAxis: { min: 0, title: { text: '' } }, legend: { reversed: true }, plotOptions: { series: { stacking: 'normal', dataLabels: { enabled: true } } }, series: [{ name: 'Motorcycles', data: [74, 27, 52, 93, 1272] }, { name: 'Null-emission vehicles', data: [2106, 2398, 3046, 3195, 4916] }, { name: 'Conventional vehicles', data: [12213, 12721, 15242, 16518, 25037] }] });
CoreColumn and bar charts
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