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

Cannot read property '_view' of undefined #3066

Closed
hongbo-miao opened this issue Jul 30, 2016 · 3 comments
Closed

Cannot read property '_view' of undefined #3066

hongbo-miao opened this issue Jul 30, 2016 · 3 comments
Assignees

Comments

@hongbo-miao
Copy link

hongbo-miao commented Jul 30, 2016

When all data is null:

  type: 'line',
  data: {
    labels: ['A', 'B', 'C', 'D', 'E', 'F', 'G'],
    datasets: [{
      label: 'Foo',
      data: [null, null, null, null, null, null, null]
    }]
  },

It is working well in v2.2.0. Working Plunker

But it throw the error below in v2.2.1. Bug Plunker, and crash the app.

You can see the error in your console:

Cannot read property '_view' of undefined

@etimberg
Copy link
Member

I have a fix in #3067

@gentisaliu
Copy link

+1.

@nandymandy1
Copy link

Same error when the application was uploaded on the server but works fine on the local server in Laravel framework

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

4 participants