I have a very simple linechart with a date-axis and a legend positioned at the bottom of this chart. When the legend grows (multiple traces, thus multiple lines in legend), it starts overlapping the tick-labels from the date-axis.
I know there is layout.margin.autoexpand, which seems to have no effect here.
I also know, I can manually increase the margins via layout.margin.[b|t], which would help. But as I donβt know the texts for the traces and thus the size of the legend in advance, Iβm not able to calculate a suitable value for the margins.
Is the overlapping a bug of the auto-positioning algorithm (as mentioned here). Or do I need some other setting to get a non-overlapping legend?