-
Notifications
You must be signed in to change notification settings - Fork 938
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
Gettings vis.selectAll is not a function when created from within Vue #610
Comments
This seems to be related to storing the instance on the Vue instance (this) Compare these... Doesn't work - throws vis.selectAll is not a function
This code works
But why would where I'm storing the instance variable matter ? I don't understand this.. |
Hi |
so... it was in march.. have you found solution? |
No
Get Outlook for Android<https://aka.ms/ghei36>
…________________________________
From: Victor Sklyar <[email protected]>
Sent: Monday, September 10, 2018 8:06:25 PM
To: shutterstock/rickshaw
Cc: hinguabhishek; Comment
Subject: Re: [shutterstock/rickshaw] Gettings vis.selectAll is not a function when created from within Vue (#610)
so... it was in march.. have you found solution?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#610 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AH_B-u_SmRCAZQLvHvvBC15xFCa8wi_Nks5uZnjpgaJpZM4R_TJ2>.
|
Found a solution: Vue wraps all data elements in an observer. This override all methods attached to them. In order to solve this issue, create graph as an array: |
Nothing is really spectacular from my vue component code but I'm getting
with this simple creation code..
The text was updated successfully, but these errors were encountered: