Skip to content

lucasgodshalk/highcharts-more-commonjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Highcharts Wrapper for CommonJS

This fork includes highcharts-more and exporting.js.

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

About

Adds highcharts-more to the commonjs wrapper

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published