-
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
[SVG output] Adding image with URL or base64 url format creates invalid SVG #452
Comments
Is any progress on this bug? Right now I'm not able to create svg chart. |
This past 2 weeks we've been focusing on other bugs and features related to the Export Server. This issue is now, however, on the top of my backlog's list once I can reproduce it locally. The file that was mentioned in the issue ( Here's a proper export structure for the Puppeteer version of the Export Server: https://github.com/highcharts/node-export-server/tree/stable?tab=readme-ov-file#loading-default-json-config Please follow this new convention and provide me with a minimal reproducible example ( Thanks in advance! |
Hi @jakubSzuminski thanks for info. Thanks |
Thanks @OleksandrNikitin! That will be really helpful. I will keep you posted on this issue (I will try to take care of it next week). |
Hi @jakubSzuminski do you have any update for this issue? |
Apologies for the delay, there's been many other issues that we struggled with here. Could you please test out the current
and this is my
and it gets exported as expected. Please keep in mind that the config structure has changed (https://github.com/highcharts/node-export-server?tab=readme-ov-file#default-json-config) and not everything which worked for v2 will work for v3+. |
Hi @jszuminski I tried it for my case and it's working correctly. Thanks |
Great, love to hear that! |
@jszuminski I found that this issue still occurs again if I'm sending more data to render. |
@DendisPatrik could you please reproduce it and share reproduction steps? It still works here and it seems to me that it has been fixed. |
Expected behaviour
The ouptut is a well formatted SVG.
Actual behaviour
Whenever the output type is SVG the result is an invalid SVG result.
The error is :
This page contains the following errors:
... Namespace prefix xlink for href on image is not defined
Below is a rendering of the page up to the first error.
Reproduction steps
Take the request_infile.json from the samples\http folder. Change the "type" from png to svg
The text was updated successfully, but these errors were encountered: