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

Uncaught TypeError: Cannot read property 'draw' of null #15

Closed
bglaz opened this issue Oct 31, 2016 · 2 comments
Closed

Uncaught TypeError: Cannot read property 'draw' of null #15

bglaz opened this issue Oct 31, 2016 · 2 comments

Comments

@bglaz
Copy link

bglaz commented Oct 31, 2016

Expected Behavior

Chart will re-render when data is changed using reactiveProp

Actual Behavior

Uncaught TypeError: Cannot read property 'draw' of null

Description

Hello, I am trying to use the reactiveProp mixin to update a line chart.

When I do the following, I receive the error listed above.

this.chartData.datasets =
[
              {
                label: 'New Label',
                backgroundColor: '#f87979',
                data: [40, 20, 42, 20, 20, 20, 20, 20, 20, 20, 22, 21]
              }
            ]

From the below image, it looks the _meta object is being cleared out, but I don't know if this is related or not.

screen shot 2016-10-31 at 12 00 46 pm

Environment

  • OS: OSX
  • NPM Version: 3.8.7
@apertureless
Copy link
Owner

Hey,

can you provide a bigger code snippet?
I can't reproduce the issue.

@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