Skip to main content

Overview

Highcharts provides official wrappers and components for popular JavaScript frameworks, making it easy to create reactive, component-based charts.

React Integration

Use the official @highcharts/react wrapper for seamless React integration.

Installation

Basic Example

React Hooks Example

Use refs to access the chart instance directly and call Highcharts API methods.

Vue Integration

Integrate Highcharts with Vue 3 using the official wrapper.

Installation

Basic Example

Global Registration

Angular Integration

Use highcharts-angular for Angular applications.

Installation

Module Setup

Component Example

Vanilla JavaScript

For projects without a framework, use Highcharts directly.

CDN Usage

NPM/ES Modules

TypeScript Support

Highcharts provides comprehensive TypeScript definitions.
TypeScript provides autocomplete and type checking for all Highcharts options and API methods.

Loading Additional Modules

Common Modules

3D Charts

Exporting

Accessibility

Annotations

Boost

Drilldown

Best Practices

Important Considerations:
  • Always import and initialize modules before creating charts
  • Use refs to access chart instances in React and Angular
  • Avoid recreating chart options on every render
  • Use memoization for complex chart options
  • Clean up chart instances in component unmount hooks
Performance Tips:
  • Lazy load Highcharts modules only when needed
  • Use the boost module for large datasets
  • Debounce chart updates when data changes frequently
  • Consider using web workers for data processing

Server-Side Rendering (SSR)

Next Steps

Basic Charts

Explore basic chart examples and patterns

API Reference

Browse the complete API documentation