Performance is critical when working with large datasets or multiple charts. Highcharts provides several optimization techniques to ensure smooth rendering and interaction.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/highcharts/highcharts/llms.txt
Use this file to discover all available pages before exploring further.
Performance Bottlenecks
Understand common performance issues:- Large datasets - Thousands of data points
- Multiple series - Many series in one chart
- Complex calculations - Heavy data processing
- Frequent updates - Real-time data streaming
- Animations - Complex animation effects
- Markers and labels - Too many visual elements
Boost Module
The Boost module dramatically improves performance for large datasets by using WebGL rendering.Installation
Configuration
When to Use Boost
Use the Boost module when you have:
- More than 5,000 data points per series
- Multiple series with thousands of points each
- Real-time data streaming
- Performance issues with standard rendering
Boost Limitations
Data Grouping
Data grouping reduces the number of points by combining them into groups.Turbo Mode
Turbo mode skips expensive calculations for very large datasets:Turbo mode disables some data validation and extremes calculation. Set to
0 to disable for critical applications.Disable Animations
Animations consume CPU cycles:Optimize Markers
Disable Markers
Use Smaller Markers
Reduce Shadow Effects
Shadows are expensive to render:Optimize Tooltips
Shared Tooltips
Throttle Tooltip Updates
Efficient Data Updates
Update Single Points
Batch Updates
Streaming Data
Memory Management
Destroy Unused Charts
Clean Up Event Listeners
Limit Chart History
Reduce Reflows
Minimize DOM Access
Use redraw: false
Optimize CSS
Use Styled Mode
Lazy Loading
Load chart modules only when needed:Web Workers
Offload data processing to web workers:Performance Monitoring
Measure Redraw Time
Performance Checklist
Real-World Example
Optimized chart for 100,000 points:This configuration can handle 100,000+ points at 60 FPS on modern hardware.
Troubleshooting
Chart Freezes on Large Data
- Enable Boost module
- Increase
boostThreshold - Use data grouping
- Reduce point density
Slow Updates
- Use
setData(data, false)and manualredraw() - Update only changed points
- Batch multiple updates
- Disable animations
High Memory Usage
- Destroy unused charts
- Limit data history
- Remove event listeners
- Clear references