apache / apache/echarts

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

Open
#19,444 3 comments 0 reactions 0 assignees View on GitHub
bug en missing-demo pending waiting-for: author
Dominant language
TypeScript
Stars
67.3k
Forks
19.8k
Avg merge
11d 14h
Merged PRs (30d)
8

Description

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

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.