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

Plotly hover popup location misalignment issue after applying css transform scale #4343

Closed
contactsandygo opened this issue Nov 8, 2019 · 2 comments

Comments

@contactsandygo
Copy link

contactsandygo commented Nov 8, 2019

Due to a specific requirement of fitting multiple charts which are added dynamically and arranged horizontally in available viewport without scroll I am using transform scale for example transform: translateZ(0) scale(0.50, 0.50) on charts based on available space, although the whole chart is scaled down uniformly but when mouse hover over is done on chart I observe there is offset between mouse location and hover popup location shown in attached screen shot

tooltipissue

Using resize() or relayout does not give crisp chats when they are scale down due to uneven transform of chart and labels.

issue

I have created code pen to explain issue
https://codepen.io/contactsandygo/pen/wvvXdov

Regards
San

@contactsandygo contactsandygo changed the title Plotly hover popup location misalignment issue after applying css trascform scale Plotly hover popup location misalignment issue after applying css transform scale Nov 8, 2019
@etpinard
Copy link
Contributor

This appears like a duplicate of #888

@etpinard
Copy link
Contributor

Merging into #888

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants