Using Highcharts for a school project or personal website?
Apply for an Educational or Personal
License.
Try Highcharts Now
You can download and try out all Highcharts products for free. When your’re satisfied our products will fit your needs, purchase a commercial license.
Join Our Newsletter
Never miss important news, tips, and tricks that will help you get the most out of your Highcharts products. We won’t spam you, sell your contact info or do anything else that would betray your trust.
By signing up you confirm to have read and accept the Privacy Policy.
Highcharts Javascript
All Highcharts libraries are pure Javascript, solely based on native browser technologies. All core functionality runs in the browser. Need more info? Explore the Highcharts Javascript Integration page.
Use the Highcharts CDN
Instead of downloading, feel free to use the Highcharts CDN to access files directly.
<script src="https://code.highcharts.com/highcharts.js"></script>
Install Highcharts with NPM
The official Highcharts NPM package comes with support for CommonJS and contains Highcharts, and its Stock, Maps and Gantt packages. Read more about how to install Highcharts with NPM.
npm install highcharts --save
Load as modules or create your own build
Highcharts can also be loaded as ECMAScript modules from our CDN, as AMD modules, as UMD modules or as TypeScript. You can also create your own tailored build to include only the features you need.
InstallationDownload Our Libraries
The zip archive contains Javascript files and examples. Unzip the zip package and open index.html in your browser to see the examples.
Typescript
Highcharts comes with TypeScript support.
Highcharts in your favorite TypeScript-Editor provides auto-completion, integrated documentation, and type checking.
Use Highcharts in your TypeScript project
Install Highcharts from the NPM registry to use the latest TypeScript definitions.
npm install highcharts
Extend the Highcharts definitions for customizations
If you do customization on Highcharts code, you can also extend the TypeScript definitions.
declare module `highcharts` {
interface Options {
myCustomOption: Record;
}
}Highcharts for React
Install
By using npm
npm install highcharts-react-officialBy using yarn
yarn add highcharts-react-officialImport
Import highcharts and the wrapper
Javascript import Highcharts from 'highcharts' import HighchartsReact from 'highcharts-react-official'
Ready to use in JSX
JavaScript
<HighchartsReact
highcharts={Highcharts}
options={options}
/>Documentation: https://github.com/highcharts/highcharts-react
Highcharts for Angular
Install
By using npm
npm install highcharts-angularMake sure the Highcharts library is added by installing it
npm install highchartsAdd HighchartsChartModule to you app.module.ts imports
TypeScript
import { HighchartsChartModule } from 'highcharts-angular';
@NgModule({
imports: [
...
HighchartsChartModule
Import
In the component where you like to add the chart import the Highcharts library like
TypeScript import * as Highcharts from 'highcharts';
Usage
In HTML file, add highcharts-chart component and use property binding to assign the Highcharts library and your chartOptions
The charts options can be stored in your component TS file
TypeScript
export class YourComponent {
Highcharts: typeof Highcharts = Highcharts;
chartOptions: Highcharts.Options = {
series: [{
data: [1, 2, 3]
}]
};
Documentation: https://github.com/highcharts/highcharts-angular
Highcharts for Python
Install
Highcharts Core for Python
To install Highcharts Core for Python, just execute:
$ pip install highcharts-coreHighcharts Stock for Python
To install Highcharts Stock for Python, just execute:
$ pip install highcharts-stockHighcharts Maps for Python
To install Highcharts Maps for Python, just execute:
$ pip install highcharts-mapsHighcharts Gantt for Python
To install Highcharts Gantt for Python, just execute:
$ pip install highcharts-ganttDocumentation
Documentation: https://highchartspython.com/documentation/
Highcharts for Vue
Install
By using npm
npm install highcharts-vueBy using yarn
yarn add highcharts-vueAdd using a script tag
<script
src="https://cdn.jsdelivr.net/npm/highcharts-vue/dist/highcharts-vue.min.js">
</script>>Live demo: https://jsfiddle.net/BlackLabel/21nb5u98/
Import and register
Javascript
import HighchartsVue from 'highcharts-vue'
// Vue 2
Vue.use(HighchartsVue)
// Vue 3
createApp(App).use(HighchartsVue)Usage
Use the highcharts component with your options
JavaScript
<highcharts
:options="chartOptions"
/>Documentation: https://github.com/highcharts/highcharts-react
The readme on this GitHub repository contains all the essential information required to utilize this wrapper. Follow the provided link for further details. Feel free to post feature requests or report bugs on this repository.
Highcharts for Flutter (Beta)
Installing Highcharts in your Flutter project is a straightforward process and typically involves just a single command. This quick guide will walk you through the basic steps of adding the Flutter package to your project.
Use pub.dev
This is the official Flutter way of installing additional packages.
Run the following command in your project folder to install the latest Highcharts for Flutter:
flutter pub add highcharts_flutterYou can also limit the process to a specific version of the Flutter integration:
flutter pub add highcharts_flutter:0.1.0More information about the Highcharts for Flutter package can be found on [our pub.dev profile]
Use GitHub
Use the following command, to test out an experimental version of Highcharts for Flutter:
dart pub add 'highcharts_flutter:{"git":"https://github.com/highcharts/highcharts_flutter.git"}'You can also add a specific version (tag):
dart pub add 'highcharts_flutter:{"git":{"url":"https://github.com/highcharts/highcharts_flutter.git","tag":"v0.1.0"}}'Or use an experimental branch:
dart pub add 'highcharts_flutter:{"git":{"url":"https://github.com/highcharts/highcharts_flutter.git","ref":"main"}}'Highcharts for Svelte
Install
By using npm
npm install @highcharts/svelteBy using yarn
yarn add @highcharts/svelteUsage
<script>
import Chart from ‘@highcharts/svelte’;
// these options are reactive
let options = {
series: [{
type: ‘line’,
data: [1, 2, 3]
}]
}
</script>Highcharts modules
In order to use different charts (stock, map, gantt), you can import the appropriate component:
import { StockChart, MapChart, GanttChart } from ‘@highcharts/svelte’;
You can also import & apply other Highcharts modules:
import Highcharts from ‘highcharts’; import Exporting from ‘highcharts/modules/exporting’; Exporting(Highcharts);
Documentation
For all the possible props and options, refer to the documentation: https://github.com/highcharts/highcharts-svelte
Highcharts Javascript
Use the Highcharts CDN
Instead of downloading, feel free to use the Highcharts CDN to access files directly.
<script src="https://code.highcharts.com/dashboards/dashboards.js"></script>
Install Highcharts Dashboards with NPM
The official Highcharts Dashboards NPM package comes with support for CommonJS. Read more about how to install Highcharts Dashboards with NPM.
npm install @highcharts/dashboards --save
Load as modules or create your own build
Highcharts can also be loaded as ECMAScript modules from our CDN, as AMD modules, as UMD modules or as TypeScript. You can also create your own tailored build to include only the features you need.
InstallationDownload Our Libraries
The zip archive contains Javascript files and examples. Unzip the zip package and open index.html in your browser to see the examples.
Need help getting started?
Check out these resources
Highcharts has the most significant developer community of any premium charting library. Our community members are eager to offer additional assistance, platform-specific implementation advice and inspiration when you need it.
- Highcharts ForumGo to the forum
- Stack OverflowGo to Stack Overflow
- GithubGo to GitHub
- Support PortalGo to the Support Portal
- Highcharts GPTHighcharts GPT
- Chart ChooserChart Chooser
- Custom ProjectsCustom Projects