@ajeetkumar786,
Based on the error that you have shared Uncaught ReferenceError: CanvasJS is not defined.
, it seems like CanvasJS script is not loaded in your application. Can you kindly try after adding script in your app?
The HTML code that you have shared seems to be working fine. It would be helpful for us to understand the issue you are facing if you could share your app reproducing the issue over Google-Drive or Onedrive.
—
Vishwas R
Team CanvasJS