Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Justin-ZS opened this issue Dec 20, 2024 · 1 comment · May be fixed by #20620
Open

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

Justin-ZS opened this issue Dec 20, 2024 · 1 comment · May be fixed by #20620
Labels
bug en This issue is in English topic: marker
Milestone

Comments

@Justin-ZS
Copy link

Justin-ZS commented Dec 20, 2024

Version

5.5.1

Link to Minimal Reproduction

Reproduction

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

- OS:
- Browser:
- Framework:

Any additional comments?

截屏2024-12-20 14 07 50
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

@Justin-ZS Justin-ZS added the bug label Dec 20, 2024
@echarts-bot echarts-bot bot added en This issue is in English pending We are not sure about whether this is a bug/new feature. labels Dec 20, 2024
@helgasoft
Copy link

yes, it seems markLine click does not behave properly with select enabled.
Workaround is to preprocess data and add extra markLines - Demo.

@plainheart plainheart added this to the TBD milestone Dec 20, 2024
@plainheart plainheart added topic: marker and removed pending We are not sure about whether this is a bug/new feature. labels Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug en This issue is in English topic: marker
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants