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

[dc.js migration] Tooltip position sometimes is not correct #42114

Open
Tracked by #37306
alxnddr opened this issue May 1, 2024 · 1 comment
Open
Tracked by #37306

[dc.js migration] Tooltip position sometimes is not correct #42114

alxnddr opened this issue May 1, 2024 · 1 comment
Labels
.echarts-regression Issues in the echarts feature branch that were not broken in the previous dc.js implementation .echarts-scope Issues related to chart types that have already been or will be migrated to echarts. .Team/DashViz Dashboard and Viz team

Comments

@alxnddr
Copy link
Member

alxnddr commented May 1, 2024

⚠️ Blocked by complexity - See comment


https://metaboat.slack.com/archives/C01LQQ2UW03/p1714587141945559

@alxnddr alxnddr changed the title Tooltip position sometimes is not correct [dc.js migration] Tooltip position sometimes is not correct May 1, 2024
@JesseSDevaney JesseSDevaney self-assigned this May 9, 2024
@JesseSDevaney JesseSDevaney added .Team/DashViz Dashboard and Viz team .echarts-scope Issues related to chart types that have already been or will be migrated to echarts. .echarts-regression Issues in the echarts feature branch that were not broken in the previous dc.js implementation labels May 9, 2024
@JesseSDevaney
Copy link
Contributor

JesseSDevaney commented May 17, 2024

Discussion of Issue

2024-05-16.20-20-02.mp4

Too Long, Didn't watch
Investigated the issue and determined that the ECharts data sent by the ECharts events is correct, but that the DOM element it returns as the target, does not always correspond to the correct ECharts element.

This is occurring because some painted ECharts elements have invisible areas painted on top of those elements. When hovering those elements, it passes the invisible area as the target element instead of the corresponding ECharts element.

There are solutions to fix these individual tool-tip issues, but then it breaks other parts of the application, so those are not viable.

It appears that the only long-term, viable, and stable solution would be to switch to the native ECharts tooltip.


@JesseSDevaney JesseSDevaney removed their assignment May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
.echarts-regression Issues in the echarts feature branch that were not broken in the previous dc.js implementation .echarts-scope Issues related to chart types that have already been or will be migrated to echarts. .Team/DashViz Dashboard and Viz team
Projects
None yet
Development

No branches or pull requests

2 participants