function purge(el): void;
Destroy the chart in el (if any) and free everything it holds, including the note shown instead of a chart without WebGL2.
el
HTMLElement
void