When I set barmode='group'
in Layout
while trace2 = Bar(...,yaxis='y2')
, this leads bars to be stacked or overlayed instead of grouping them. How can I group the bars while having multiple axes?
I went over these but no avail:
- With single Y axis grouped bar chart is shown here.
- Multiple axes is also explained here and reference for y-axis is available here