-
-
Notifications
You must be signed in to change notification settings - Fork 348
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
Bad hover tooltip when using dates with PlotlyJS #1385
Comments
I'd also be interested in a fix to this. Does anyone have any ideas for how to get around this? I'd be happy to take a look at it, but I don't quite know where to begin. |
Maybe the solution is when the DateTimeFormatter runs (to create the date breaks on the x axis) to check if |
I'll try that, thanks! As an aside, I noticed that |
@pearlzli If you use |
@cstjean Yes, I just noticed this! However, I also want to do two more things: set my own tick-marks and show my dates as quarters (e.g. "2010-Q1" instead of "Mar 2010"). I'm trying to implement that now using the @mkborregaard Upon further investigation, I think the |
That's right, sorry. I |
@pearlzli I think this issue should be closed in light of |
The x-axis tooltip in this example is a number instead of a date.
Interestingly, the tooltip works correctly when hovering over datapoints that are exactly over tick marks. The equivalent code works fine when using PlotlyJS directly. I assume that it's the same underlying issue as #1382, and probably #726
The text was updated successfully, but these errors were encountered: