hjmmc commented on issue #15103:
URL: https://github.com/apache/echarts/issues/15103#issuecomment-1327121831

   If you just fix the width, you can try this code, which is basically the 
same as the zoom effect
   ```js
   const app = document.getElementById('app')
   const ratioX = window.innerWidth / 1920
   app.style.width = '1920px'
   app.style.height = `${window.innerHeight / ratioX}px`
   app.style.transform = `scale(${ratioX},${ratioX})`
   app.style.transformOrigin = `0 0`
   ```


-- 
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]

Reply via email to