apache / apache/echarts

[Bug] In the line chart, when there are more than 3 lines, the loading mask layer does not cover the lines when showLoading is performed.

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

Description

### Version

5.4.2

### Link to Minimal Reproduction

https://codesandbox.io/s/focused-bouman-lqvlpy?file=/src/index.js

### Steps to Reproduce

调用showLoading方法

### Current Behavior

loading的遮罩层没有盖住图

### Expected Behavior

loading的遮罩层能盖住图

### Environment

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

### Any additional comments?

_No response_

Contributor guide

Open the contributing guide

Research direction

Start with the linked CodeSandbox reproduction and the line-chart loading behavior in ECharts 5.4.2. Call showLoading with more than three lines, inspect which layer is rendered above the chart, and verify that the loading mask covers every line when the fix is complete.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data-visualization
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.