Cannot setup Highcharts 5+ with a custom window #7031
Closed
Labels
Comments
@TorsteinHonsi It's hard to see why |
Thanks for the fix ! :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi !
I'm using Highcharts to make some server generated charts. Currently, I work with the Highcharts 4.2.6, but due to #5926, I need to work with at least the 5.0.3.
In version 4, Highcharts had the possibility to setup a custom window (created for example with JSDom). In the last version, I cannot setup the custom window because it is erased by the global object window. Here are the first lines of highcharts.src.js :
I tested by removing the var win = window line, and it worked.
The problem is I need this to be in the current npm package.
I know these lines come from the Globals.js file and the problematic line is used for front-end generation.
Is there a possibility to solve this for back-end development ?
Thanks a lot for all your job. :)
The text was updated successfully, but these errors were encountered: