I'd recommend you to not delete the canvas or visualization containers.
Just delete all labels from the current visualization:
for(var id in viz.fx.labels)
viz.fx.disposeLabel(id);
delete viz.fx.labels[id];
}
and then *reuse* the same canvas instance to create a new instance of
a new visualization:
--
You received this message because you are subscribed to the Google Groups "JavaScript Information Visualization Toolkit" group.
To post to this group, send email to javascript-information...@googlegroups.com.
To unsubscribe from this group, send email to javascript-information-visua...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/javascript-information-visualization-toolkit?hl=.