sheepzheng edited a comment on issue #15103:
URL: https://github.com/apache/echarts/issues/15103#issuecomment-859461384
I fixed this problem by setting body transform.
In script add:
```
var ratioX = window.innerWidth / 1920;//dev screensize echarts
instance
document.body.style.width = '1920px';//dev screensize echarts
instance
document.body.style.height = '1080px';//dev screensize echarts
instance
document.body.style.transform = `scale(${ratioX},${ratioX})`;
document.body.style.transformOrigin = `0 0`;
```
then tooltip works right with browser zoom and different sizes of screen
--
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]