mirror of
https://gitee.com/antv/g6.git
synced 2024-12-05 13:18:40 +08:00
313 B
313 B
title | order |
---|---|
Clear/Destroy Canvas | 17 |
graph.clear()
Clear all the items in the canvas. This function is used for reseting the data source and re-rendering the graph.
Usage
graph.clear();
graph.destroy()
Destroy the graph.
Usage
graph.destroy();