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

It seems that the reactiveProp couldn't let the chart update itself #99

Closed
daiyanze opened this issue May 1, 2017 · 2 comments
Closed

Comments

@daiyanze
Copy link

daiyanze commented May 1, 2017

Expected Behavior

update chart when data changes

Actual Behavior

Throws error: [Error] TypeError: undefined is not an object (evaluating 'element._view.skip')

After I looked for it on google, it's said that chart.update is never called when data changes.
I think the problem happens in watch, because it seems the handler is never called.

watch: {
  'chartData': {
     handler: {
      ...
     }
   ...
  }
}

Thank you.

Environment

  • vue.js version: 2.2.6
  • vue-chart.js version: 2.6.1
  • npm version: 4.2.0
@apertureless
Copy link
Owner

Please provide a codepen oder jsfiddle for reproduction.
It rather seems that there is a problem with the dataset or options.

@apertureless
Copy link
Owner

Closed due to inactivity.

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