@meena,
Please take a look at this gallery page for examples on integrating CanvasJS in Angular app.
If you are still facing the issue, kindly create a sample project reproducing the issue and share it with us over Google-Drive or Onedrive along with sample data so that we can look into the code, understand your scenario better and help you out.
—-
Manoj Mohan
Team CanvasJS