rogyvoje commented on issue #18147:
URL: https://github.com/apache/echarts/issues/18147#issuecomment-1763987710
@ousmorez I had the same problem, I fixed by using renderer to be svg
`renderer: 'svg'` and then I dynamically through code I assign viewBox on the
svg `svg.setAttribute('viewBox', `0 0 ${width} ${height}`);` , and then using
CSS I just tweak width only in print mode, then it reflects properly.
I gotta say this is not recommended way of doing it, but I really didn't
find any other solution for the same problem.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]