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

hover text #48

Open
kegiles opened this issue Dec 6, 2023 · 0 comments
Open

hover text #48

kegiles opened this issue Dec 6, 2023 · 0 comments

Comments

@kegiles
Copy link

kegiles commented Dec 6, 2023

I am finding it incredibly difficult to customize the hover text information when combining ggnet2 with ggplotly. I was able to use the 'text' parameter and then add custom text as follows:
ggplotly(p,hoverinfo='text') %>% style(hovertext = 'specialty')
I can add a list to the hovertext parameter, but it only takes the first element in the list. I can specify any element in the list (list[x]) and it will move to the xth element in the list, which tells me that the package is reading in the list. I'm fairly certain that the length of the list is equal to the number of nodes in the graph. Any help would be appreciated.

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