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.
var Highcharts = require('highcharts');
require('highcharts/modules/exporting')(Highcharts);
var chart = Highcharts.chart('container', {
series: [{
data: [1, 3, 2, 4]
}],
});