Skip to content

hover misplaced with period positioning #5822

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

Closed
nicolaskruchten opened this issue Jul 13, 2021 · 2 comments · Fixed by #5836, #5846 or #5864
Closed

hover misplaced with period positioning #5822

nicolaskruchten opened this issue Jul 13, 2021 · 2 comments · Fixed by #5836, #5846 or #5864
Labels
bug something broken
Milestone

Comments

@nicolaskruchten
Copy link
Contributor

In this pen the hover labels positioning is quite broken: https://codepen.io/nicolaskruchten/pen/gOWgpEx?editors=0010

when I hover directly on some of the points it's correct, but in general it's too far to the left. This doesn't happen when I use just the first trace, and when I set xperiod to e.g. M1.

@stephprobst
Copy link

I don't think this has been fixed. I took the original code pen and updated it to 2.3.0:

https://codepen.io/Djeramon/pen/XWRVzwz

The behavior is not yet right. Two things are going wrong:

  • For the last data point only the hover label of a single trace is shown. (Yen)
  • The values for all other traces are shifted and are not shown correctly. (e.g. the third data point for US Dollar should be the value 6, but instead the hover label shows the value 8)

@alexcjohnson
Copy link
Collaborator

Discussing this in another channel, @Djeramon and others with similar setups are seeing this problem on Windows 10 using either Chrome or Edge. But my own testing, whether on Windows or Mac and regardless of browser, is behaving correctly. So there's some aspect of the environment affecting this, but we haven't yet figured out what it is. If anyone else is seeing this and can shed more light on its cause, please do!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment