Ggplotly dysfunctionality while ploting geom_col()

Please find reprex below:

p = ggplot(iris, aes(x = "1", Sepal.Width, fill = reorder(Species,Sepal.Width),
text = paste('<br>Values: ', round(Sepal.Width,2), "%"))) +
p %>% ggplotly()

Although X axis is just a constant
ggplot displays it perfectly as below

However with ggplotly
expecting the same plot with a nice functionalities : Zoom in etc
But plot itself collapses into much granularity and
hence Values when hover over is different as below:

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.