# A basic example of clearing your canvas

This is a demonstration of how the RGraph.Reset(canvas) function may be preferable to the RGraph.Clear() function. It is particularly apt if you're using the same canvas to show multiple charts. Because RGraph tracks objects so that it can redraw them you may find old charts being redrawn. In this case you can use the RGraph.Reset(canvas) function instead of the RGraph.Clear(canvas) function to eliminate traces of prior charts.