highcharts-highstock-commonjs

4.1.7-3 • Public • Published

Highcharts Wrapper for CommonJS

Forked and added HighStock charts support

Example Usage

'use strict';
var Highcharts = require('highcharts-commonjs');
 
var someDOMDiv = ...;
 
// create chart
var chart = Highcharts.createChart(
  // dom element to inject the chart
  someDOMDiv,
  // highcharts options
  {
    title: {
      text: 'My chart'
    },
  ...
  },
  // callback, called when initialization of chart is done
  function() {
    console.log('Chart initialized');
  }
);
 
...
 
// destroy chart
Highcharts.destroy(chart);
 

Readme

Keywords

Package Sidebar

Install

npm i highcharts-highstock-commonjs

Weekly Downloads

9

Version

4.1.7-3

License

www.highcharts.com/license

Last publish

Collaborators

  • igorukolov