Black Lives Matter. Please consider donating to Black Girls Code today.
Dash HoloViews is now available! Check out the docs.

Chart Studio rearranging legend

Hi All,
I’m new to Chart Studio. I have spent some time learning the tool and I’m getting the hang of it. However, there is one thing I cannot figure out. I have made a line graph representing development over time for a dozen products. I have inserted a legend, but the problem is that the traces in the legend appear in the order i have made them and I would like to rearrange them in a different order, for example in the order of how the different products rank in the last survey. I realize I can switch them reversed in the setting. But I find no way of reaanging them.

Any suggestions?

/Ulf