ctaneja
Posts: 22
Joined: Wed Aug 31, 2022 5:07 am

Angular: dynamically/lazy load Highcharts separate independent chart modules

Hi,
Can I lazy/dynamically load the required Highcharts module separately. Let's say I have a large scrollable page and I am dynamically loading all the required modules (custom made or 3rd party both) only when that particular section comes into the viewport. Can I do that with Highcharts too? Can I import just the Highcharts Treemap or Bar Chart or Area Chart and use it without needing to import the complete Highcharts Module?
hubert.k
Posts: 1164
Joined: Mon Apr 11, 2022 11:48 am

Re: Angular: dynamically/lazy load Highcharts separate independent chart modules

Hi ctaneja!
We appreciate you reaching out to us!

As you can read in the documentation of Angular Wrapper: https://github.com/highcharts/highchart ... ce-details
The core is required to use a particular module. A module is a Highcharts official addon so it won't work as itself.

Let me know if you have any further questions.
Regards!
Hubert Kozik
Highcharts Developer

Return to “Highcharts Usage”