You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@echarts.apache.org by GitBox <gi...@apache.org> on 2019/06/25 08:14:09 UTC

[GitHub] [incubator-echarts] dvago commented on issue #10724: Responsive SVG rendered charts

dvago commented on issue #10724: Responsive SVG rendered charts
URL: https://github.com/apache/incubator-echarts/issues/10724#issuecomment-505337975
 
 
   Good morning/evening @Ovilia. Having a javascript function maybe attached to an event listener to do a resize of an SVG (which is a vector graphic) is quite too much. Have you tried to replace the `width` and `height` attributes with a `viewBox`? Please do try and come back to me.
   
   A simple test could be: on Finished hook `setAttribute(0, 0, width, height)` and `removeAttribute('width')` and `('height')`

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@echarts.apache.org
For additional commands, e-mail: dev-help@echarts.apache.org