Skip to content

Function: purge() ​

ts
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.

Parameters ​

ParameterType
elHTMLElement

Returns ​

void

Released under the MIT License.