Home Forums StockChart Support _assets_canvasjs_min__WEBPACK_IMPORTED_MODULE_1__.StockChart is not a constructo Reply To: _assets_canvasjs_min__WEBPACK_IMPORTED_MODULE_1__.StockChart is not a constructo



You can create Chart & StockChart by importing canvasjs.stock.min.js but you can create only chart using canvasjs.min.js. Based on the code that you have shared, you are trying to create StockChart using canvasjs.min.js. Instead, importing canvasjs.stock.min.js to your project should work fine in this case. Please download the StockChart from download page.

If you are still facing issue, kindly create sample project and share it with us over Google-Drive or Onedrive so that we can run it locally at our end to understand the scenario better and help you out.

Angular StockChart

Vishwas R
Team CanvasJS