A basic example of clearing your canvas
[No canvas support]
Draw the Bar chart
Draw the Line chart
Clear the canvas
Reset the canvas
Redraw the canvas