Skip to content

awHamer/highcharts-commonjs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%