apache / apache/echarts

[Bug] Stacked Area Chart draw the area even though the value is 0.

Open
#21,467 11 comments 0 reactions 0 assignees View on GitHub
bug en pending
Dominant language
TypeScript
Stars
67.3k
Forks
19.8k
Avg merge
11d 14h
Merged PRs (30d)
8

Description

### Version

6.0.0

### Link to Minimal Reproduction

https://codesandbox.io/p/devbox/stacked-area-chart-forked-j5hqr7?workspaceId=ws_VRxsFnabkcLYpQFZFy1rGS

### Steps to Reproduce

Image

![Image](https://github.com/user-attachments/assets/743872fc-ad16-4430-87ba-d09d1d39711d)

### Current Behavior

Between "Tue" and "Wed," all values ​​except Email are 0. However, the 0 values ​​are plotted and colored on the graph.

### Expected Behavior

If the value is 0, it should not be stacked on the graph.

### Environment

```markdown
- OS:
- Browser:
- Framework:
```

### Any additional comments?

_No response_

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.