-
Notifications
You must be signed in to change notification settings - Fork 74
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
Plot area disappearing or getting squashed #169
Comments
@MCSmit27 Thanks for reporting the issue! I think that it is caused by the stack blitz reload system rather than a Could you tell me if you noticed the problem somewhere else than on the stackblitz? |
Hi, |
That error means grouped-categories plugin is loaded twice. I don't know why it works that way in stackblitz, let's consider this demo: https://stackblitz.com/edit/js-pbe91b?file=index.js In the console, for the first time you can see Workaround: Load grouping-categories plugin only once, example protection: if (!Highcharts.myPluginLoaded) {
require("highcharts-grouped-categories")(Highcharts);
Highcharts.myPluginLoaded = true;
} Demo: https://stackblitz.com/edit/js-fpigev?file=index.js |
Hi Pawel, Thank you so much, that seems to have sorted out my charts perfectly! I never would have guessed that. |
Hi, I'm not sure if I'm doing something wrong or if it's with the Highcharts library of with the grouping library. I have 2 charts that load after a user makes a selection in a drop down list, and for some charts it seems like the charts load correctly, but for most I noticed this morning that the plot area seems to be getting squashed.
Two examples:
https://stackblitz.com/edit/angular-ivy-cz2dhy?file=src%2Fapp%2Fapp.component.ts
https://stackblitz.com/edit/angular-groupedcolumnchart?file=src%2Fapp%2Fapp.component.ts
On both examples, when I refresh the browser bit, the charts load correctly, but if I add a space and save in the code section and it auto compiles and refreshed the browser, then the plot area is completely squashed.
The text was updated successfully, but these errors were encountered: