You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am implementing Venn diagram using d3 venn in my angular2+ application.
I am getting a proper result when i select an api object that has sets has 3 items inside it. It is giving error -
Uncaught TypeError: Cannot read property 'size' of undefined
I found out the answer -
I forgot putting sets value inside square [ ] brackets.
this.allNodesSingularSelect.push({ sets: [this.nodesInfoSingular.records[i]._fields[0].properties.name], size: 12 })
I am implementing Venn diagram using d3 venn in my angular2+ application.
I am getting a proper result when i select an api object that has sets has 3 items inside it. It is giving error -
when my sets has 6 items.
Code -
venn.example.js
app.component.ts
Output in console -
Reference -
http://jsfiddle.net/suchetacateina/h04sknus/518/
The text was updated successfully, but these errors were encountered: