-
Notifications
You must be signed in to change notification settings - Fork 254
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] trying to use styledMode results in black image #453
Comments
@istvanherbak thanks for reporting! I will investigate this issue this week and try to propose a sensible solution. |
@istvanherbak it is not a bug - by default, we do not include the Here's a Vanilla JS demo showing the issue: https://jsfiddle.net/BlackLabel/hzf7b5Lm/ The simplest solution to this problem is just including the node-export-server/tests/node/scenarios/css_raw.json Lines 1 to 43 in fe51115
|
I am using the v3 branch as a server. I tried to make it work, but no luck. Here is the request body |
@istvanherbak by default, Please follow the code snippet that I've listed in my post above (where the |
Sorry but something still does not add up. { This is invalid json, gives me TypeError: Cannot create property 'allowFileResources' on boolean 'false' If i use { Then it is still black. Thanks Also allowFileResources becomes false always when using server. |
Which CLI command are you using? Could you please share the reproduction steps of this error? |
Start a server with Use the attached file to send over to the server. See chart is fine as png. Change the "type" to svg and send over againhave black square Hope it helps |
Hi, Any other possible workarounds? Thanks |
Expected behaviour
styled mode applies css just like normal mode
Actual behaviour
When you set styledMode: true and the output is svg the chart does not contains style informations.
Reproduction steps
Use the request_infile.json from sample\http and set styledMode: true and type: svg.
The text was updated successfully, but these errors were encountered: