Forum Discussion
Anonymous
6 years agoNot applicable
How to delete SVG-Elements after removing Field?
Hi Folks, Like the title says I have some elements which renders fine, when adding the corresponding field. My problem is now, if I remove those fields, the svg elements in the reports won't ...
- 6 years ago
Anonymous
I am not sure about the rest of your code, but you could use the d3-method to remove a selection.
If you detect that the fields are removed and the lines have to be removed you can use:
this.upperLimit.selectAll(".line").remove();Not sure if you are looking for this...
Regards
Paul
paul-maessen
6 years agoResolver I
Anonymous
I am not sure about the rest of your code, but you could use the d3-method to remove a selection.
If you detect that the fields are removed and the lines have to be removed you can use:
this.upperLimit.selectAll(".line").remove();
Not sure if you are looking for this...
Regards
Paul