Currently, I can only customize colors, position and per-item text in legend:
Is there a way to have a better control of how the legend looks like? For instance, sometimes there is too much information going in a legend and formatting it as text does not look nice.
Instead, I’d like to use basic table HTML:
I realize I can make it an outside-graph HTML and style it whatever I need, but in that case I won’t be able to include the legend in the export feature which is supported by Plotly.js out of the box.
Any ideas / thoughts? Please advise how to best tackle this.