I am trying to create a grouped bar chart. There are 5 data series. However, some of the traces don’t have any valid value for each of the xaxis tick. When a trace has not value for an xaxis-tick, plotly is leaving a gap in the bar chart for that trace. However, I don’t want it to leave the gap. For example if for xaxis time tick 3, there are only 4 traces that have value, and the 5th trace doesnt plotly should generate 4 bars with out any gap between them.
I have a simple plot to show what is happening:
For xaxis ticks 2 and 7 i dont want gaps. How can I do it?