GrantMStevens / amCharts-Angular

Angular directive for amCharts library
Apache License 2.0
63 stars 39 forks source link

TypeError: AmCharts.AmSerialChart is not a constructor #83

Closed zonelsk closed 7 years ago

zonelsk commented 7 years ago

I get this error when trying to run code from your example.

full console error msg:

TypeError: AmCharts.AmSerialChart is not a constructor
    at renderChart (:3000/build/js/final-92b2d66fcc.js:97431)
    at :3000/build/js/final-92b2d66fcc.js:97652
    at processQueue (:3000/build/js/final-92b2d66fcc.js:26512)
    at :3000/build/js/final-92b2d66fcc.js:26528
    at Scope.$eval (:3000/build/js/final-92b2d66fcc.js:27810)
    at Scope.$digest (:3000/build/js/final-92b2d66fcc.js:27624)
    at Scope.$apply (:3000/build/js/final-92b2d66fcc.js:27918)
    at bootstrapApply (:3000/build/js/final-92b2d66fcc.js:11628)
    at Object.invoke (:3000/build/js/final-92b2d66fcc.js:14587)
    at doBootstrap (:3000/build/js/final-92b2d66fcc.js:11626)
Reached commented 7 years ago

Same error here

EDIT: Make sure that you have included the chart-type you are using, e.g. serial :)

zonelsk commented 7 years ago

Yes, its problem with including additional libraries.