destroy abstract method

void destroy()

Removes the chart and purges memory. This method should be called before writing a new chart into the same container. It is called internally on window unload to prevent leaks.

Implementation

void destroy();