First, dont include canvas.js script every time. Then, you need unique id for div
<div >>>> id=”chart” <<< style=”height: 300px; width: 100%;”></div>
I have created wrapped for canvas.js model by generating random guid from which I set my id to div and then I am using the same id in script to generate canvas.js chart.