highcharts

WebJar for highcharts

License

License

MIT
Categories

Categories

Charts User Interface
GroupId

GroupId

org.webjars.bower
ArtifactId

ArtifactId

hightcharts
Last Version

Last Version

4.1.5
Release Date

Release Date

Type

Type

jar
Description

Description

highcharts
WebJar for highcharts
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/highslide-software/highcharts-release

Download hightcharts

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.bower/hightcharts/ -->
<dependency>
    <groupId>org.webjars.bower</groupId>
    <artifactId>hightcharts</artifactId>
    <version>4.1.5</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.bower/hightcharts/
implementation 'org.webjars.bower:hightcharts:4.1.5'
// https://jarcasting.com/artifacts/org.webjars.bower/hightcharts/
implementation ("org.webjars.bower:hightcharts:4.1.5")
'org.webjars.bower:hightcharts:jar:4.1.5'
<dependency org="org.webjars.bower" name="hightcharts" rev="4.1.5">
  <artifact name="hightcharts" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.bower', module='hightcharts', version='4.1.5')
)
libraryDependencies += "org.webjars.bower" % "hightcharts" % "4.1.5"
[org.webjars.bower/hightcharts "4.1.5"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

Highcharts is a JavaScript charting library based on SVG, with fallbacks to VML and canvas for old browsers. This package also contains Highstock, the financial charting package, and Highmaps for geo maps.

This package is intended for supporting client-side JavaScript charting through bundlers like Parcel or Webpack and environments like Babel or TypeScript. If you indend to generate static charts on the server side, use the Highcharts node.js Export Server instead.

Download and install Highcharts

Please note that there are several ways to use Highcharts. For general installation instructions, see the docs.

Use our CDN

Instead of downloading, you can use our CDN to access files directly. See code.highcharts.com for details.

<script src="https://code.highcharts.com/highcharts.js"></script>

Install from npm

See npm documentation on how to get started with npm.

npm install --save highcharts

Install nightly build

See highcharts documentation for installing the nightly build.

Note that we do not recommend the use of the nightly build in production environments as it may contain bugs and is not considered stable.

npm install --save highcharts/highcharts-dist#nightly

Install from Bower

See Bower documentation on how to get started with Bower.

bower install highcharts

Load Highcharts as a CommonJS module

Highcharts is using an UMD module pattern, as a result it has support for CommonJS. The following examples presumes you are using npm to install Highcharts, see Download and install Highcharts for more details.

// Load Highcharts
var Highcharts = require('highcharts');
// Alternatively, this is how to load Highstock. Highmaps is similar.
// var Highcharts = require('highcharts/highstock');

// Load the exporting module, and initialize it.
require('highcharts/modules/exporting')(Highcharts);

// Generate the chart
Highcharts.chart('container', {
  // options - see https://api.highcharts.com/highcharts
});

Load Highcharts as an ES6 module

Since Highcharts supports CommonJS, it can be loaded as an ES6 module with the use of transpilers. Two common transpilers are Babel and TypeScript. These have different interpretations of a CommonJS module, which affects your syntax. The following examples presumes you are using npm to install Highcharts, see Download and install Highcharts for more details.

Babel

import Highcharts from 'highcharts';
// Alternatively, this is how to load Highstock. Highmaps is similar.
// import Highcharts from 'highcharts/highstock';

// Load the exporting module.
import Exporting from 'highcharts/modules/exporting';
// Initialize exporting module.
Exporting(Highcharts);

// Generate the chart
Highcharts.chart('container', {
  // options - see https://api.highcharts.com/highcharts
});

TypeScript

import * as Highcharts from 'highcharts';
// Alternatively, this is how to load Highstock. Highmaps is similar.
// import Highcharts from 'highcharts/highstock';

// Load the exporting module.
import * as Exporting from 'highcharts/modules/exporting';
// Initialize exporting module.
Exporting(Highcharts);

// Generate the chart
Highcharts.chart('container', {
  // options - see https://api.highcharts.com/highcharts
});

Versions

Version
4.1.5