Skip to content

hover text #48

@kegiles

Description

@kegiles

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions