Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGettings 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 <notifications@github.com>
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: |

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.

Nothing is really spectacular from my vue component code but I'm getting
with this simple creation code..