Highcharts.chart('container', { chart: { height: '100%', type: 'heatmap', plotBackgroundImage: 'https://cdn.jsdelivr.net/gh/highcharts/highcharts@3c36bd6dc1/samples/graphics/example-screenshot.png' }, title: { text: 'Interpolated heatmap image displaying user activity on a website' }, yAxis: { title: { text: undefined }, endOnTick: false, visible: false, minPadding: 0, maxPadding: 0 }, xAxis: { visible: false, margin: 0, minPadding: 0, maxPadding: 0 }, tooltip: { pointFormat: '{point.value:.0f} interactions in this region' }, legend: { title: { text: 'User interactions per region' }, symbolWidth: 175 }, colorAxis: { stops: [ [0, 'rgba(61, 0, 255, 0.2)'], [0.3, 'rgba(0, 255, 188, 0.3)'], [0.6, 'rgba(194, 255, 0, 0.6)'], [0.9, 'rgba(255, 0, 67, 0.9)'] ] }, series: [{ name: 'User activity', data: JSON.parse(document.getElementById('data').innerText), interpolation: true }], responsive: { rules: [{ condition: { minWidth: 600 }, chartOptions: { chart: { height: 550 } } }] } });
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