rajsite commented on issue #13504:
URL: https://github.com/apache/echarts/issues/13504#issuecomment-1233155201

   I see similar issues in the [charts 
examples](https://echarts.apache.org/examples/en/editor.html?c=area-stack-gradient)
 if I zoom the browser:
   
   
![echarts](https://user-images.githubusercontent.com/1588923/187729142-390e632a-c567-448a-85cc-2851df13546c.gif)
   
   Notice that when I refresh the page the echart reloads and sees the new 
devicePixelRatio and looks sharp again. I think the issue is that echarts needs 
a way to allow for monitoring changes to the devicePixelRatio dynamically.
   
   MDN has an example for [Monitoring screen resolution or zoom level 
changes](https://developer.mozilla.org/en-US/docs/Web/API/Window/devicePixelRatio#monitoring_screen_resolution_or_zoom_level_changes)
 which should help for the browser zoom use-case I show.


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