Open this-username-is-taken opened 8 years ago
It is supported:
plot_ly(mtcars, x = ~mpg, y = ~disp, color = ~factor(vs)) %>%
layout(legend = list(orientation = "h"))
We don't, however, have support for ggplot2::theme(legend.direction = "horizontal")
yet. Changing the title to reflect this.
Thanks Carson!
Is this added now?
https://plot.ly/python/legend/#changing-orientation-of-legend
This feature is now supported by plotly.js:
https://github.com/plotly/plotly.js/pull/535