{ "data": [ { "type": "bar", "y": [1, 2, 1], "yaxis": "y2" }, { "type": "bar", "y": [2, 1, 2] }, { "type": "bar", "y": [1, 3, 0] }, { "type": "bar", "y": [1, 2, 1], "alignmentgroup": "top", "hovertext": "alignmentgroup: top", "xaxis": "x2", "yaxis": "y2" }, { "type": "bar", "y": [2, 1, 2], "hovertext": "alignmentgroup: top
offsetgroup: 1", "alignmentgroup": "bottom", "offsetgroup": "1", "xaxis": "x2" }, { "type": "bar", "y": [1, 3, 0], "hovertext": "alignmentgroup: top
offsetgroup: 2", "alignmentgroup": "bottom", "offsetgroup": "2", "xaxis": "x2" }, { "type": "scatter", "y": [1, 2, 1], "yaxis": "y2" }, { "type": "scatter", "y": [2, 1, 2] }, { "type": "scatter", "y": [1, 3, 0] }, { "type": "scatter", "y": [1, 2, 1], "alignmentgroup": "top", "hovertext": "alignmentgroup: top", "xaxis": "x2", "yaxis": "y2" }, { "type": "scatter", "y": [2, 1, 2], "hovertext": "alignmentgroup: top
offsetgroup: 1", "alignmentgroup": "bottom", "offsetgroup": "1", "xaxis": "x2" }, { "type": "scatter", "y": [1, 3, 0], "hovertext": "alignmentgroup: top
offsetgroup: 2", "alignmentgroup": "bottom", "offsetgroup": "2", "xaxis": "x2" } ], "layout": { "scattermode": "group", "showlegend": false, "grid": { "rows": 2, "columns": 2, "roworder": "bottom to top" }, "colorway": ["blue", "orange", "green"], "margin": { "t": 20 }, "xaxis": { "title": { "text": "no alignmentgroup
no offsetgroup" } }, "xaxis2": { "title": { "text": "with alignmentgroup
with offsetgroup" } } } }