Home Forums Chart Support CanvasJS is not defined Reply To: CanvasJS is not defined



Creating the chart within ngOnInit() should render the chart in Angular 2. Please take a look at this sample project for integrating CanvasJS Chart with Angular 2.

Column chart in AngularJS 2

Sanjoy Debnath
Team CanvasJS