-
Couldn't load subscription status.
- Fork 4
Description
I have created a resource-level resource involvement plot and wrapped it with ggplotly function.
plot_obj <- patients %>% resource_involvement("resource") %>% plot()
ggplotly(plot_obj)
In the plot, tooltip renders the same element multiple times. In ggplotly documentation, the tooltip default is set to "all", thereby showing all the aesthetic mappings(including the unofficial "text" aesthetic).
Assuming, resource activity plot maps the same element multiple times to the aesthetics attributes [ edeaR/resource_involvement.r , code snippet attached for reference], the tooltip element is rendered multiple times.
the ask is, Is there a way that this can be handled at the plot generation level i.e resource_involvement function, or any alternate way to solve this problem?

