X-range series
Highcharts.chart('container', { chart: { type: 'xrange' }, title: { text: 'Highcharts X-range' }, accessibility: { point: { descriptionFormat: '{add index 1}. {yCategory}, {x:%A %e %B %Y} ' + 'to {x2:%A %e %B %Y}.' } }, xAxis: { type: 'datetime' }, yAxis: { title: { text: '' }, categories: ['Prototyping', 'Development', 'Testing'], reversed: true }, series: [{ name: 'Project 1', // pointPadding: 0, // groupPadding: 0, borderColor: 'gray', pointWidth: 20, data: [{ x: '2014-11-21', x2: '2014-12-02', y: 0, partialFill: 0.25 }, { x: '2014-12-02', x2: '2014-12-05', y: 1 }, { x: '2014-12-08', x2: '2014-12-09', y: 2 }, { x: '2014-12-09', x2: '2014-12-19', y: 1 }, { x: '2014-12-10', x2: '2014-12-23', y: 2 }], dataLabels: { enabled: true } }] });
CoreMore chart types
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