Forum Discussion

giorgikok's avatar
giorgikok
Frequent Visitor
3 years ago
Solved

Delete/cleanup custom visual whenever the necessary data is not longer bound

Hello,  I am trying to figure out why my column chart visual is not properly deleting after adding the data and then removing it. For instance, removing categories should void the visual since it ...
  • giorgikok's avatar
    3 years ago

    I figured it out: just had to do this.barContainer.selectAll("*").remove(); whenever the necessary conditions for deletion were met.