amit-highcharts

1.0.1 • Public • Published

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

Download and install

This is the working repo for Highcharts. If you simply want to include Highcharts into a project, use the distribution package instead, or read the download page. Please note that there are several ways to use Highcharts. For general installation instructions, see the docs.

Build and debug

If you want to do modifications to Highcharts or fix issues, you may build your own files. Highcharts uses Gulp as the build system. After npm install in the root folder, run gulp, which will set up a watch task for the JavaScript and SCSS files. Now any changes in the files of the /js or /css folders will result in new files being built and saved in the code folder. Other tasks are also available, like gulp lint.

npm install
gulp

Usage in Node/Browserify/Webpack

This uses the distribution package which points to a separate repo.

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
});

Package Sidebar

Install

npm i amit-highcharts

Weekly Downloads

1

Version

1.0.1

License

SEE LICENSE IN <license.txt>

Last publish

Collaborators

  • amit1911