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

Multiple scales without type results in an error #2154

Closed
hamalaiv opened this issue Mar 19, 2016 · 2 comments
Closed

Multiple scales without type results in an error #2154

hamalaiv opened this issue Mar 19, 2016 · 2 comments

Comments

@hamalaiv
Copy link
Contributor

Creating multiple scales without type property results in an error. Here is a jsfiddle:
https://jsfiddle.net/hamalainen/brcxyL22/1/

I have tested this with latest v2.0-dev and it results in these errors:
Uncaught TypeError: Cannot read property 'getPixelForValue' of undefined
Uncaught TypeError: Cannot read property 'initialize' of undefined

It seems only the first axis is getting a default type but not the rest.

@etimberg
Copy link
Member

This is kind-of as designed. I think we can make it better though.

@etimberg
Copy link
Member

Fixed in #2155

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