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
When exporting to JPEG I expect it to have a white background.
Actual behaviour
Starting recently, Highchart's export server now produces JPEG images with black background
This is the expected output. Highchart's default export server used to produce this until recently.
Running node-export-server locally currently results in an image with white background.
This is the actual output from the default export server.
The black background can also be achieved with the offline exporter
I have successfully worked around it by hooking exportChart to set the background color to white if the format is JPEG (I want it to remain transparent on other formats)
Expected behaviour
My chart has transparent background, which makes it look nice over different light backgrounds (I use light grayscale gradients on my website).
When exporting to JPEG I expect it to have a white background.
Actual behaviour
Starting recently, Highchart's export server now produces JPEG images with black background
This is the expected output. Highchart's default export server used to produce this until recently.
Running node-export-server locally currently results in an image with white background.
This is the actual output from the default export server.

The black background can also be achieved with the offline exporter
Reproduction steps
Here is a jsfiddle that reproduces the issue:
https://jsfiddle.net/jteu92fm/5/
Workaround
I have successfully worked around it by hooking
exportChart
to set the background color to white if the format is JPEG (I want it to remain transparent on other formats)The text was updated successfully, but these errors were encountered: