JSPM

  • Created
  • Published
  • Downloads 1687344
  • Score
    100M100P100Q182101F
  • License https://www.highcharts.com/license

JavaScript charting framework

Package Exports

  • highcharts
  • highcharts/highcharts
  • highcharts/highcharts-3d
  • highcharts/highcharts-more
  • highcharts/highcharts-more.js
  • highcharts/highcharts-more.src
  • highcharts/highcharts-more.src.js
  • highcharts/highcharts.js
  • highcharts/highcharts.src
  • highcharts/highcharts.src.js
  • highcharts/highmaps
  • highcharts/highmaps.js
  • highcharts/highmaps.src
  • highcharts/highstock
  • highcharts/highstock.js
  • highcharts/highstock.src
  • highcharts/modules/boost
  • highcharts/modules/boost.src.js
  • highcharts/modules/broken-axis
  • highcharts/modules/data
  • highcharts/modules/data.js
  • highcharts/modules/drilldown
  • highcharts/modules/drilldown.js
  • highcharts/modules/drilldown.src
  • highcharts/modules/exporting
  • highcharts/modules/exporting.js
  • highcharts/modules/exporting.src
  • highcharts/modules/exporting.src.js
  • highcharts/modules/funnel
  • highcharts/modules/heatmap
  • highcharts/modules/heatmap.src
  • highcharts/modules/heatmap.src.js
  • highcharts/modules/map
  • highcharts/modules/map.js
  • highcharts/modules/no-data-to-display
  • highcharts/modules/offline-exporting
  • highcharts/modules/offline-exporting.js
  • highcharts/modules/solid-gauge
  • highcharts/modules/solid-gauge.js
  • highcharts/modules/solid-gauge.src
  • highcharts/modules/treemap
  • highcharts/modules/treemap.src.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (highcharts) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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.

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.
require('highcharts/modules/exporting')(Highcharts);

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