-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot load Stock as a module: ERROR TypeError: this.Highcharts[(this.constructorType || "chart")] is not a function #316
Comments
It looks like some error specific to the Adding the Stock module after importing the core of Highcharts is the correct way of doing it.
PS. Please note that the |
However, if you are using it on the server-side instead of importing the whole Highcharts module like this Demo: https://stackblitz.com/edit/highcharts-angular-stock-9yx4iv |
Closed due to inactivity. |
Can confirm on the latest Angular v17! |
I am facing this issue, ERROR TypeError: Cannot read properties of undefined (reading 'Core/Globals.js') can you please provide an example code that implements SSR in Angular version 17 using standalone components? |
see: #372 |
Is it related to this? #216
Describe the bug
As in the title.
Demo
https://stackblitz.com/edit/highcharts-angular-stock-bmcsle?file=src/app/app.component.ts
Workaround
Override Highcharts by Highcharts by
Highcharts._modules['masters/highcharts.src.js']
or... load Stock directly, not as a module.
Version
Tested also with Highcharts v10.0.0 and highcharts-angular 3.0.0
The text was updated successfully, but these errors were encountered: