echarts icon indicating copy to clipboard operation
echarts copied to clipboard

[Bug] Echarts increasingly size when zoom in or out in chrome

Open willonf opened this issue 1 year ago • 3 comments
trafficstars

Version

5.3.2

Link to Minimal Reproduction

https://codesandbox.io/p/sandbox/echarts-basic-example-template-mpfz1s

Steps to Reproduce

  1. Populate a bars or gauge chart with data
  2. Zoom it or out until the size be increseangly undefinetely
  3. Refresh the page to get back normal

https://github.com/apache/echarts/assets/55599667/1cdfb8f1-04ed-45e6-af9a-98ded69dad7c

Current Behavior

When I zoom it or zoom out the browse, the chart has your size being increased undefinetely.

Expected Behavior

When I zoom it or zoom out the browse, the chart should have your size being increased at the same aspect ratio.

Environment

- OS: Windows 11
- Browser: Chrome
- Framework: echarts with angular (ngx-echarts)

Any additional comments?

Ignore the Link to Minimal Reproduction. My project it's a little complex to much to put on a codepen or codesandbox. And i don't have authorization to post the entire code

willonf avatar Dec 27 '23 20:12 willonf

Ignore the Link to Minimal Reproduction. My project it's a little complex

...so we are supposed to guess how it happens ?

helgasoft avatar Dec 28 '23 19:12 helgasoft

@willonf Please provide a demo for the issue either with Official Editor, CodePen, CodeSandbox or JSFiddle.

echarts-bot[bot] avatar Dec 29 '23 09:12 echarts-bot[bot]

Same problem. Try to resize a browser window vertically https://echarts.apache.org/examples/en/editor.html?c=custom-gantt-flight

alexdeia avatar Oct 10 '24 10:10 alexdeia