You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Open any of the eCharts examples (e.g. line-simple).
Zoom in using the browser's zoom, e.g. Cmd+ on a Mac or Ctrl+ 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.
Screen.Recording.2025-11-21.at.2.21.25.PM.mov
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.
Version
6.0.0
Link to Minimal Reproduction
https://echarts.apache.org/examples/en/editor.html?c=line-simple
Steps to Reproduce
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.Screen.Recording.2025-11-21.at.2.21.25.PM.mov
Expected Behavior
The chart should detect changes in
devicePixelRatio. Barring that, callingresize()whendevicePixelRatiohas changed should redraw the chart at the newdevicePixelRatio.Environment
Any additional comments?
No response