👍:0
Try wraping the whole rendering space inside a div and give id to your div, assuming id of your div is graphDiv
, then to empty all the contents inside this div you can write:
$("#graphDiv").empty();
I guess this should solve your problem.
👍:0
Try wraping the whole rendering space inside a div and give id to your div, assuming id of your div is graphDiv
, then to empty all the contents inside this div you can write:
$("#graphDiv").empty();
I guess this should solve your problem.