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

Allow setting constant width for bars and variable width for categories #11731

Open
michal-perlakowski opened this issue Apr 3, 2024 · 0 comments

Comments

@michal-perlakowski
Copy link

Feature Proposal

I have a bar chart with multiple datasets which include empty values. I use skipNull to hide the empty values. Currently each category has the same width, and the width of the bars is inversely proportional to the number of bars in a category. I'd like all bars in the chart to have the same width, and the categories to have variable widths.

This code demonstrates the issue: https://codesandbox.io/p/sandbox/icy-tdd-sj2wz7

This is more or less how I'd like the chart to look:
image

Possible Implementation

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant