danvk opened a new issue, #21386: URL: https://github.com/apache/echarts/issues/21386
### Version 6.0.0 ### Link to Minimal Reproduction https://echarts.apache.org/examples/en/editor.html?c=line-simple ### Steps to Reproduce - Open any of the eCharts examples (e.g. [line-simple](https://echarts.apache.org/examples/en/editor.html?c=line-simple)). - Zoom in using the browser's zoom, e.g. <kbd>Cmd</kbd><kbd>+</kbd> on a Mac or <kbd>Ctrl</kbd><kbd>+</kbd> on a PC. - Observe that the chart is blurry. - Reload the page. The chart is now crisp at the new zoom level. ### Current Behavior Zooming results in a blurry chart, even after a call to `myChart.resize()`. You have to reload the page to get a crisp chart. https://github.com/user-attachments/assets/0b92aa4a-fe05-4051-87ba-0966a7626db0 ### Expected Behavior The chart should detect changes in `devicePixelRatio`. Barring that, calling `resize()` when `devicePixelRatio` has changed should redraw the chart at the new `devicePixelRatio`. ### Environment ```markdown - OS: macOS Sonoma 14.6.1 (23G93) - Browser: Chrome 142.0.7444.162 - Framework: none ``` ### Any additional comments? _No response_ -- 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]
