How to display legend with fixed width

In this tool, since the legend has different length, the timer marker are not aligned. Are there any Plotly options that could specify width of the legend?


Hmm. I don’t see a legend on your page:

Sorry, it’s updated now:

Because the legends does not have fixed size, the red marker are not aligned.


There’s no way to display legend with a fixed width at the moment, but you should be able to get the same result by setting either layout.margin.r or layout.xaxis.domain.

1 Like

Thank you so much, the tool is fixed now!

1 Like