angular-fusioncharts
angular-fusioncharts copied to clipboard
Error Error using FcRoot in NgModule
I am having this error in angular kernel 8.2+. The code where it indicates how to use FusionChartsModule.fcRoot (FusionCharts, Charts, FusionTheme, TimeSeries); he is out of date.
ERROR in Error during compilation of 'FusionChartsModule' template Function calls are not supported by decorators in 'NgModule' 'NgModule' calls a function at ../@angular/core/core.ts(194.50).
Could you try with fusioncharts: 3.16.0 & angular-fusioncharts:3.0.4
Thanks for the reply.
But the truth has not worked for me. It throws me the same error.
I think line 5 of this section of code is the one that creates the problem.
https://github.com/AyanBhadury/angular-fusioncharts-demo
You can clone the repo and test it
I ran into this exact issue using angular-fusioncharts@^3.1.0. Downgrading to 3.0.4 resolved it for me, so it might be an issue introduced with the newer version.
ngCC compilation issue has been fixed, please upgrade to 3.2.0 : http://www.npmjs.com/package/angular-fusioncharts
@jberndsen @luisrains