This demo uses the display: CSS option to display one canvas tag and hide the other - allowing you to switch between charts.