How to move a big legend above the plot

Range selectors are only available for date axes at the moment. You can try using Plotly.validate(traces, layout) to confirm attribute interactions like these in the future: