Skip to content

How can I clear a plot?

novikov-alexander edited this page Apr 21, 2016 · 2 revisions

There is no way to remove all of child plots at once, but it is possible to use plot's .remove() method for removing one by one. For example:

var plot =  InteractiveDataDisplays.asPlot("idd");

var polyline1 = plot.polyline();

polyline1.remove();