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

Is it possible to have a horizontal stacked bar chart? #176

Open
okanji opened this issue Apr 10, 2019 · 2 comments
Open

Is it possible to have a horizontal stacked bar chart? #176

okanji opened this issue Apr 10, 2019 · 2 comments

Comments

@okanji
Copy link

okanji commented Apr 10, 2019

I have been trying to make a horizontal stacked bar graph.

xScale in stacked bar series only accepts type 'band'. I assume that it would need to be type 'linear' for a horizontal stacked bar graph.

Is it possible to make a horizontal stacked bar graph?

Thanks

@williaster
Copy link
Owner

Sorry @okanji this is currently not possible. It should be relatively easy to implement with the @vx BarStackHorizontal component if you want to take a shot at the PR

https://vx-demo.now.sh/barstackhorizontal

@okanji
Copy link
Author

okanji commented Apr 11, 2019

Sounds good, I'll look into that on the weekend, thanks.

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

2 participants