Highcharts JS, the JavaScript charting framework

Highcharts is a JavaScript charting library based on SVG, with fallbacks to VML and canvas for old browsers. This package also contains Highstock, the financial charting package, and Highmaps for geo maps.

For NPM users, please note that this module replaces the previous Highcharts Server module.

Example Usage in Node/Browserify/Webpack

Please note that there are several ways to use Highcharts. For general installation instructions, see the docs.

First, install the highcharts package.

npm install highcharts

Now load Highcharts in your project.

// Load Highcharts
var Highcharts = require('highcharts');

// Alternatively, this is how to load Highstock or Highmaps
// var Highcharts = require('highcharts/highstock');
// var Highcharts = require('highcharts/highmaps');

// This is how a module is loaded. Pass in Highcharts as a parameter.

// Generate the chart
var chart = Highcharts.chart('container', {
    series: [{
        data: [1, 3, 2, 4]
    // ... more options - see http://api.highcharts.com/highcharts