-
Notifications
You must be signed in to change notification settings - Fork 74
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
geom_line_interactive wrong labels with few data points #299
Comments
Thanks for this awesome package @davidgohel! It's overall been really useful! I was wondering if there is an update on this issue? I am experiencing the same thing. What's interesting is this bug seems to depend on the number of points on the x-axis. In the example below with only 2 points on the x-axis:
If I instead have 3 points on the x-axis, the bug changes a little where:
If I instead have 4 points on the x-axis, the bug changes to:
Thanks again for all of the work you have put into this package! |
@davidgohel is there any update on this? I am also having this issue. |
Hi,
Thanks for this package @davidgohel !
Trying to do some slopecharts between two dates, I noticed that
geom_line_interactive
produce some issue when your line is only made of 2 or 3 points.Reproducible example below:
In the first case, everything is fine.
In the second one, the tooltip is wrong. It's mixed or produced NA. Adding
group = Species
doesn't change anythingMy current solution is to produce all points behind this one with y = ax+b and use
geom_point_interactive
with transparent settings. Not really optimalThe text was updated successfully, but these errors were encountered: