-
Notifications
You must be signed in to change notification settings - Fork 263
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
Export with a fill (background color) of 'none' results in black background #492
Comments
Thanks for reporting! Here's a related issue: #463 The best way to ensure that the PNGs have a transparent background is to include the Please let me know if that works for you. If not, could you please create a minimal reproducible Highcharts config which would illustrate this problem? |
Thank you for the feedback @jszuminski I attempted using transparent but I still seem to be getting a black background on JPGs. Can you confirm if this is setup as expected? |
Thanks for reproducing @cballenar! So you expect the page to be white by default, for all the formats apart from PNG? And for PNGs with |
Yes, exactly. This was also the expected behavior mentioned in the issue you linked before. Thanks! |
I've created a pull request for it: #499 which should be a part of our next release (which is initially planned for the next week). |
@jszuminski thanks again for the update and prompt response. Unfortunately I don't see this having taken effect yet. Do you know when we might see these changes in the Highcharts export server? |
Yes, you're right. We had to postpone a release because of the other issues. We have it planned for this week. |
@cballenar I'm sorry, but we've found a few new issues related to performance in the latest versions of Puppeteer and the Export Server. Thus we need to postpone the release again (for, hopefully, next week). Apologies for the inconvenience! |
No prob. Appreciate the heads up! |
Hi @jszuminski just wanted to circle back and check if this had been deployed. The previously built sample continues to return JPEGs with black background. https://codepen.io/cballenar/pen/VwNPqeN Thanks! |
Expected behaviour
Last year (as late as October 2023) Highcharts public Export server used to produce exported JPG with white when a value of 'none' was passed in the svg.
Actual behaviour
Sometime since then, it started generating charts with black backgrounds unless a color is specified.
Reproduction steps
The request below used to produce jpegs with white background but now they have a black background:
Can anyone confirm if they're also seeing this? Has anything changed recently that could've affected the output. What would be a more appropriate default to ensure JPGs generate a white background chart and PNGs a transparent one?
Correction: I originally thought this also affected PNGs but in their case they export the images with a transparent background when "none" is provided.
The text was updated successfully, but these errors were encountered: