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

You can't pass empty data to stacked bars #21

Closed
Timopheym opened this issue Aug 4, 2014 · 1 comment
Closed

You can't pass empty data to stacked bars #21

Timopheym opened this issue Aug 4, 2014 · 1 comment

Comments

@Timopheym
Copy link

Is it by Design? I can pass empty data to any type of chart, but when i try it with stacked i got d3 error.
Bin: http://jsbin.com/topeqiva/15/

@heavysixer
Copy link
Owner

I think this "kind of" makes sense because we are trying to create a nest around an empty array and therefore nothing to stack. I think we can rescue for this in a little more elegant fashion though. It probably needs to be handled in the stacked parser.

heavysixer added a commit that referenced this issue Aug 5, 2014
…21 and a fix whereby label offsets may return NaN in some cases.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants