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

tooltip location with Shiny #23

Open
lrmelt opened this issue Oct 6, 2016 · 0 comments
Open

tooltip location with Shiny #23

lrmelt opened this issue Oct 6, 2016 · 0 comments

Comments

@lrmelt
Copy link

lrmelt commented Oct 6, 2016

I have a wordcloud in Shiny and the tooltips are always way below the cursor. It seems like it is a standard gap too.

I edited d3wordcloud.js to change the "top" setting in function mousemove, but that did not work.

          function mousemove(d){
            tooltip
              .style("left", (d3.event.pageX + 0 ) + "px")
              .style("top", (d3.event.pageY + **0**) + "px");
          }

How can I have the tooltip hover properly like found here: http://rstudio-pubs-static.s3.amazonaws.com/133106_df80b0877cfe45f2b8f06c03c60ffcab.html#tooltips

Is there a different location where I can change the top setting?

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

1 participant