Ghanshyam Bhatt,
It seems to be working fine with salesforce lightning component. I tried creating charts in salesforce lightning component with canvasjs.min.js it seems to be working fine. Please take a look at this Github Repo for the working code.
If you are still facing the issue, kindly share the complete code over Gist / Google-Drive / Onedrive so that we can try running it at our end, understand the scenario better and help you out.
—
Vishwas R
Team CanvasJS