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

Invalid prop xScale of value band #22

Open
dmk23 opened this issue Jul 8, 2016 · 0 comments
Open

Invalid prop xScale of value band #22

dmk23 opened this issue Jul 8, 2016 · 0 comments

Comments

@dmk23
Copy link

dmk23 commented Jul 8, 2016

Using the latest version from NPM and seeing this error:

warning.js?8a56:45 Warning: Failed propType: Invalid prop `xScale` of value `band`
supplied to `Grid`, expected one of
["linear","identity","sqrt","pow","log","quantize","quantile","ordinal","time"].
Check the render method of `XGrid`.

This is clearly a bug since I did pass xScale: 'ordinal' to props.

Additionally the resulting chart seems to get drawn on the wrong scale. For example a series [1..5] actually comes out to start at 0.5 and ends at 4.5 ...

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

1 participant