-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bar stackgroup #3614
Comments
Related: #1835 |
@nicolaskruchten could you tell us a bit more about the current limitations of I have a feeling making examples like: (from #1835 (comment)) work as Plotly.newPlot('graph', [{
type: 'bar',
x: ['Apples', 'Oranges', 'Pears', 'Grapes', 'Bananas'],
y: [3, 4, 4, 2, 5],
marker: {color: 'black'},
offsetgroup: '1',
stackgroup: '1'
}, {
type: 'bar',
x: ['Apples', 'Oranges', 'Pears', 'Grapes', 'Bananas'],
y: [7, 3, 4, 7, 2],
marker: {color: 'blue'},
offsetgroup: '1',
stackgroup: '1'
}, {
type: 'bar',
x: ['Apples', 'Oranges', 'Pears', 'Grapes', 'Bananas'],
y: [3, 0, 4, 4, 3],
marker: {color: 'orange'},
offsetgroup: '2',
stackgroup: '2'
}, {
type: 'bar',
x: ['Apples', 'Oranges', 'Pears', 'Grapes', 'Bananas'],
y: [2, 5, 6, 2, 1],
marker: {color: 'green'},
offsetgroup: '2',
stackgroup: '2
}], {
// !! no barmode !!
}) will require at least a full week of work - as it will require a subsequential refactoring of |
In addition, we'll probably need to add another trace attribute (named e.g. I'm imagining |
After some review, I can no longer think of the case(s) where this would be useful for Is this blocking #85, out of curiosity? |
Ok, thanks for the info.
That's the solution I currently prefer. I'll try to get a PR up for
Not really, we could add an attribute (e.g. |
Hi @etpinard |
We don't have an ETA yet for this issue but we're still planning on addressing it :) |
Any updates on this? We would love a real grouped stack bar charts, like the one @etpinard mentioned above: But with mixed line charts as well, like so: |
Closing in favour of sponsored feature: #4914 |
We should finish the swing from #3402 and implement
stackgroup
forbar
. Needed forpx
.The text was updated successfully, but these errors were encountered: