You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The standard charts such as stock charts, bar and line charts etc seem to function fine, it's just sunburst that seems to have a module issue at the moment.
The HIGHCHARTS_MODULE_SCRIPTS loads the modules in the order that they are input. Using the manifest.json in the .cache is tricky, any mistakes in order can be a problem.
Apparently, some modules don't load unless their dependent modules are loaded first. This leads to the failure to load the sunburst module.
Affected node export version:
4.0.2
,5.0.0
Highcharts versions tested with node export server:
10.3.3
,11.1.0
Problem:
When exporting a sunburst chart, the module for sunburst.js is not found, even though it has been cached by highcharts export server.
Stack trace:
Indications that this is a node export bug:
.cache
has the source code for sunburst, and mapping comment is present.env
file as outlined in the readme.The standard charts such as stock charts, bar and line charts etc seem to function fine, it's just sunburst that seems to have a module issue at the moment.
Minimum postman payload to have the error occur:
This payload works on the older phantomJS export server.
Has anyone else had issues with sunburst charts?
Update / Workaround
I've found that commenting out all the
.env
variables, and re-downloading the modules on every boot fixes this problem.This is however problematic, as we use highcharts in a cloud environment, which can have many containers running it.
Using the module list to cache the modules prevented many GET calls to highcharts.
The text was updated successfully, but these errors were encountered: