Missing tooltips and redundant legend with ggplotly using geom_bar
问题 I'm trying to reproduce the ggplot geom_bar example I found here. The code is rather simple library(ggplot2) library(plotly) dat <- data.frame( time = factor(c("Lunch","Dinner"), levels=c("Lunch","Dinner")), total_bill = c(14.89, 17.23)) # No legend, since the information is redundant ggplot(data=dat, aes(x=time, y=total_bill, fill=time)) + geom_bar(colour="black", stat="identity") + guides(fill=FALSE) ggplotly() In the ggplot the fill-legend is hidden as expected but the plotly differs from