-
Notifications
You must be signed in to change notification settings - Fork 621
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
Cursor issue interacting with plotly plots #648
Comments
I think this was fixed in c500425. If you're still having a problem, please reopen and I'll address it |
I'm facing the issue described here: rstudio/revealjs#47 Consider the following minimal document:
When using reveal.js, the cursor needs to be placed above and to the left of the points for the tooltip to trigger - rather than on top of them. This doesn't occur when using the default html_document style. Below is my
|
+1 |
+1 having the same problem with plotly + revealjs |
I think the code below solves the problem.
|
@paulofelipe your solution worked for me. |
For anyone still coming to this issue, the dev version of plotly is the one to use to solve this (specifically for revealjs) as it updates the version of plotly.js which has the fix for this. |
I have created several plots including a histogram, a surface plot, a boxplot, and a scatterplot, in a JS Reveal presentation. When I knit the presentation and open it in a browser the plots display, but when I try to select a data point to read the values of that point, the point directly beneath the cursor is not selected. Instead, a point up and to the left of the cursor is selected. This is also happening with a line graph and a scatter plot I have created using the htmlwidgets package. Is there a way that I can select data that is directly under the cursor? Any help would be greatly appreciated!
This is a sample r chunk that creates a histogram, but I cannot select the data directly beneath the cursor.
The text was updated successfully, but these errors were encountered: