# highcharts-commonjs

> Create interactive charts easily for your web projects.

Latest version **4.1.7-1** (published 2015-07-09) · www.highcharts.com/license license · 0 weekly downloads

## Install

```sh
npm install highcharts-commonjs
pnpm add highcharts-commonjs
yarn add highcharts-commonjs
bun add highcharts-commonjs
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 4.1.7-1 |
| Published | 2015-07-09 |
| First published | 2015-02-27 |
| Weekly downloads | 0 |
| License | www.highcharts.com/license |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 (+4 in 1 direct dependencies) |
| Install scripts | no |
| Maintainers | davidagraf |
| Keywords | highcharts |

## Links

- npm: https://www.npmjs.com/package/highcharts-commonjs
- Repository: https://github.com/crealogix/highcharts-commonjs
- Issues: https://github.com/crealogix/highcharts-commonjs/issues
- npm.io page: https://npm.io/package/highcharts-commonjs

## Dependencies (1)

- [jquery](https://npm.io/package/jquery.md) 2.1.3

## Alternatives

- [d3-force-3d](https://npm.io/package/d3-force-3d.md) — 1.0M weekly downloads
- [ng2-charts](https://npm.io/package/ng2-charts.md) — 486.8K weekly downloads
- [@arcgis/core](https://npm.io/package/@arcgis/core.md) — 257.8K weekly downloads
- [react-sparklines](https://npm.io/package/react-sparklines.md) — 249.3K weekly downloads
- [react-native-gifted-charts](https://npm.io/package/react-native-gifted-charts.md) — 182.3K weekly downloads

## Recent versions

- 4.1.7-1 (latest) — 2015-07-09
- 4.1.6-1 — 2015-06-18
- 4.1.4-1 — 2015-03-19
- 4.1.1-1 — 2015-02-27

## README

# Highcharts Wrapper for CommonJS

### Example Usage
```javascript
'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);

```

---
_Source: https://npm.io/package/highcharts-commonjs · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
