I made a plot which has dates (end of month dates) on the x-axis.
The plot has one trace that is a scatter,
and two traces that are bars.
In layout I set barmode: “stacked”
The desired result:
I would like the bars to have no gaps between them.
- I tried using bargap: 0 in layout. It does work almost ok, but there is still a gap between most of the bars. I think the gap width is being set to 28 days (the minimum), because January-February bars are displayed ok, but the rest not.
- I tried instead setting width: 1 or 31 in the data traces, but then there is no bar whatsoever being displayed
Any suggestions or hints?