plainheart commented on issue #14714:
URL: https://github.com/apache/echarts/issues/14714#issuecomment-822944472


   Or maybe you can try to set like this if your `image` is `HTMLImageElement`,
   `img.width` to `myChart._api.getCoordinateSystems()[0].getRect().width`
   `img.height` to `myChart._api.getCoordinateSystems()[0].getRect().height`
   
   Then remove the two lines
   
   
![image](https://user-images.githubusercontent.com/26999792/115332576-af36c500-a1ca-11eb-9c7b-4d4994b9f352.png)
   


-- 
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:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to