-
Notifications
You must be signed in to change notification settings - Fork 19.7k
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] The prompt of broken line icon is abnormal #16911
Labels
Comments
Sorry, I cannot understand. Can you give an image to illustrate what's wrong? |
So the problem is like this:
Code to reproduce
This is because the dispatcher of markLine and markLine's label is different, so the echarts/src/component/tooltip/TooltipView.ts Line 656 in 4a52199
markLine's dataModel is literally markline , but markline's label has no dataModel so it's given a seriesModel, which result in its tooltip displaying the first point of the series.I think a good way to solve this is to tell the model-getter to inheritate a model from component's parent. But I am not sure whether this issue is worth solving. What do you guys think? @Ovilia @pissang |
6 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
5.3.2
Link to Minimal Reproduction
No response
Steps to Reproduce
Current Behavior
Test Echarts
Expected Behavior
Test Echarts
Environment
Any additional comments?
No response
The text was updated successfully, but these errors were encountered: