@radheshamheerasoftware-com,
We don’t have official npm package published yet, the npm package that you were using (v1.8.0) is not an official one. Please take a look at Angular Gallery for examples on integrating CanvasJS in Angular project. Also you can download sample project from our download page and run it locally to understand it better.
—-
Manoj Mohan
Team CanvasJS