apache / apache/echarts

[Bug] click markline will cause the first column to be selected

Open
#20,609 1 comment 0 reactions 0 assignees View on GitHub
bug en topic: marker
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

[Reproduction](https://echarts.apache.org/examples/en/editor.html?code=PYBwLglsB2AEC8sDeAoWszGAG0iAXMgL4A0as2ApgOaXQAmhSp5AHgIKsQDOT569AIZhBhANoAiALIwJJWBIAqAV0pyFAdUr11SgBbLdAMQBOEXQGVhl5dAkBdci3QBPTjybPY3Smcq9YMVR0dGhBAFtKQgkrKjl-DBcQKIUAI0ETeJDYIRFxAFZ5ACYABnkAZgA2eQBGMtg64vqAFnsybJ8qAGMwbRl6FIluCGhqOPaQzsoevmz0CF7wizAXKlm59FTgEwGTDQh6MD1CIonsogSvdHCMgGsAGRGU4Lnc0UCXjbcuAJrChPQREc5ycjiIQA&_source=echarts-doc-preview)

### Steps to Reproduce

click the markline, you can see the first column is selected.

### Current Behavior

click the markline, you can see the first column is selected.

### Expected Behavior

click the markline, no columns are selected

### Environment

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

### Any additional comments?
![截屏2024-12-20 14 07 50](https://github.com/user-attachments/assets/65d1acff-3187-4139-a830-2d01f60e988a)
It looks like the logic want to dispatch an action to select the markline.
But the created action config is exactly the same as the action to select the first item since the key property `dataModel` is not passed in

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.