Home Forums Chart Support CanvasJS in Angular 6 Reply To: CanvasJS in Angular 6



CanvasJS Charts & StockCharts works with all versions of Angular / AngularJS including Angular 6. Below are the steps to integrate CanvasJS Chart / StockChart in your angular app.
1. Save canvasjs.min.js (canvasjs.stock.min.js incase of StockChart) within source-folder of your Angular application ( src or src/assets or src/lib )
2. Import the library into your app.
For Chart: import * as CanvasJS from './canvasjs.min';
For StockChart: import * as CanvasJS from './canvasjs.stock.min';

Please check out Angular Gallery for examples on integrating charts in Angular app.

Angular Column / Bar Chart

Vishwas R
Team CanvasJS