/highcharts

Highcharts JS, the JavaScript charting framework

Primary LanguageJavaScriptOtherNOASSERTION

Highcharts JS is a JavaScript charting library based on SVG, with fallbacks to VML and canvas for old browsers.

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.

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

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

// This is how a module is loaded. Pass in Highcharts as a parameter.
require('highcharts/modules/exporting')(Highcharts);

// Generate the chart
Highcharts.chart('container', {
  // options - see http://api.highcharts.com/highcharts
});