apache / apache/echarts

[Bug] Step graph and "connectNulls = false" connects where it should not

Open
#20,191 3 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

5.5.1

### Link to Minimal Reproduction

https://echarts.apache.org/examples/en/editor.html?c=line-step&version=5.5.1

### Steps to Reproduce

Use above example and add null values in the middle of the dataset.

### Current Behavior

Lines are painted that are not allowed to be painted. I have marked these in red here:

![image](https://github.com/user-attachments/assets/c2c827d2-676f-43fd-be31-668a5a48b73f)

### Expected Behavior

Marked area should not be there.

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