apache / apache/echarts

[Bug] 5.3.0 bar stack datavalue=0无法正常堆叠

Open
#16,565 4 comments 0 reactions 0 assignees View on GitHub
bug topic: stack
Dominant language
TypeScript
Stars
67.3k
Forks
19.8k
Avg merge
11d 14h
Merged PRs (30d)
8

Description

### Version

5.3.0

### Link to Minimal Reproduction

https://echarts.apache.org/examples/zh/editor.html?c=bar-y-category-stack

### Steps to Reproduce

1.官网演示案例
2.option修改:2.1给每个series加上最小高度属性barMinHeight:15, 2.2把所有series.data改成[0, 0, 0, 0, 0, 0, 0]
3.无

### Current Behavior

我需要堆叠柱状图在显示数值为0的项时有个最小高度。但是在5.3.0版本设置最小高度后,bar图不再正常堆叠,而是全部重合。

### Expected Behavior

我需要堆叠柱状图在显示数值为0的项时有个最小高度。可以按照重现步操作后将版本切换到5.2.2,那就是我需要的结果。

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