Using D3-Lasso in Angular 6

259 views Asked by At

I am using D3.Js and lasso in my Angular 6 project. I have initialized lasso with start(), draw() and stop() functions. But I don't know how to bind this lasso with my svg. In traditional JavaScript, they use following syntax.

svg.call(lasso_object);

How do I do this in Angular? Here is my code in Stackblitz

0

There are 0 answers