Closed
Description
Was pointed out in #766 that scrolling not intended for layout.legend.orientation = 'h'
. Example workaround is to use legend groups.
This is not a great solution, however, as it means clicking the legend group hides/shows ALL traces in the group (see jsfiddle).
Proposing that plotly.js implement something similar to ggplot2 which automatically wraps additional legend items on horizontal legend orientation. Especially on mobile portrait orientation, this allows the graph data to take up the entire width of the screen and push the legend below the graph which is much preferable in my view.