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

Line Chart - Uncaught TypeError: Cannot read property 'min' of undefined #2131

Closed
alancwoo opened this issue Mar 14, 2016 · 3 comments
Closed

Comments

@alancwoo
Copy link

For some reason, when trying to use even the most basic line chart example as provided in the docs, I am getting the error Uncaught TypeError: Cannot read property 'min' of undefined

Am I doing something wrong or is this a bug? I am using the 2.x beta from cdnjs

Jsbin: http://jsbin.com/hemiqaqaku/edit?html,js,console,output

@etimberg etimberg added the v2.x label Mar 14, 2016
@etimberg
Copy link
Member

@alancwoo looks like an error in the sample in the docs. Removing yAxisID: "y-axis-1" from the config makes it work. If you are planning to use v2, I highly recommend using v2.0.0-beta2 or the latest from the v2.0-dev branch. It is effectively at release status.

@etimberg
Copy link
Member

Fixed documentation in #2132
Website will be updated once new site is ready.

@alancwoo
Copy link
Author

@etimberg Thank you, you are correct - all works now. The same error was trigged in v2.0.0-beta2 or at least in the bleeding dev branch as far as I know, which is why I reverted to the cdnjs version. All good now though.

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