Skip to content
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

Multiseries (grouped) BarChart variant - overlapping bars #58

Open
linden-dg opened this issue Nov 9, 2021 · 1 comment
Open

Multiseries (grouped) BarChart variant - overlapping bars #58

linden-dg opened this issue Nov 9, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@linden-dg
Copy link

I'm submitting a...


[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report  
[ ] Performance issue
[x] Feature request
[ ] Documentation issue or request
[ ] Other... Please describe:

Current behavior

In the current grouped BarChart, each of the bars in a group are adjacent to each other (which is what you want in almost all cases), but I'm trying to create a bar chart where the bars within a group overlap each other.

In my use case I have a primary dataset representing this year's data, which is the focus, but I also want last year's data as an underlay/overlap to be able to show the previous distribution as well.

Expected behavior

I want to reproduce something like this:

image

It would be nice to be able to configure the degree of overlap, but it's not 100% necessary for my use case (I can live with either partial or full).

If there's a way to do that with the current BarChart, then please let me know!

@amcdnl
Copy link
Member

amcdnl commented Nov 9, 2021

Interesting use case - I'm not entirely sure what the best way to go about this would be ( other than wrapping the Bar component in a g w/ a small offset. Let me think about it and I'll get back to you!

@amcdnl amcdnl added the bug Something isn't working label Sep 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants