-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
no-data-to-display can't read property parts/Globals.js of undefined #10465
Comments
Hi @chook, thanks for reporting. I was unable to recreate the issue, and it seems to be working as expected in our demos. See Line chart with no-data module. Could you recreate the issue in a live example? JSFiddle often works well for this purpose. |
It's probably cache issue. Error shows up when using Highcharts v7.0.3 and modules from v7.1.0: https://jsfiddle.net/BlackLabel/L254wvcp/ |
Thanks @pawelfus! 👍 Then I will consider this not a bug, as we do not support the use of Highcharts modules from one version together with a Highcharts instance from a different version. The way to solve this is either to make sure all the Highcharts files are of the same version number, or to have one Highcharts instance for each version. I assume that the reproduction above is the same issue as reported by @chook, and will therefore close this issue as not a bug. Should anyone have any further details or questions about this issue then feel free to let us know in a comment. |
@jon-a-nygaard Console errors: IE 11 Microsoft Edge 44.17763.1.0 Chrome 73.0.3683.86 Using local highcharts.js file in project folder But linking to this file: If this is not a bug is there a suggested solution for my situation? |
I changed to code to point to |
Hi @t-briz
You don't use local set of highcharts.js files, not for
Everything is written on our CDN: http://code.highcharts.com/ :) For example the one @chook posted will work (but first you should check your current exact version). |
@chook @pawelfus thank you both so much, this solution worked, changed the url to contain my version number: script src = "https://code.highcharts.com/6.1.1/modules/data.js"></script hopefully this will help someone else as well. Thank you! |
Started today with v7.1.0 using Chrome 72 on macOS
HTML has:
<script src="https://code.highcharts.com/modules/no-data-to-display.js"></script>
The text was updated successfully, but these errors were encountered: