fusioncharts / angular-fusioncharts

Angular Component for FusionCharts JavaScript Charting Library
https://fusioncharts.github.io/angular-fusioncharts/#/ex1
Other
55 stars 37 forks source link

ng Module Support #2

Closed jayh92 closed 7 years ago

jayh92 commented 7 years ago

I found FusionChartsModule but when importing in app.module.ts, my Ionic compiler gives the following error:

[15:54:19]  Error: Error at /Local/Users/jharris/Desktop/dev/.tmp/node_modules/angular2-fusioncharts/src/fusioncharts.component.ngfactory.ts:83:75 
[15:54:19]  Property 'containerId' is private and only accessible within class 'FusionChartsComponent'. 
[15:54:19]  ngc failed 
[15:54:19]  ionic-app-script task: "build" 
[15:54:19]  Error: Error

Then if I change the scope of the variable from 'private' to 'public' I get this error:

[15:50:43]  bundle failed: Could not resolve 'angular2-fusioncharts/index' from /Local/Users/jharris/Desktop/dev/.tmp/app/app.module.ngfactory.js 
[15:50:43]  ionic-app-script task: "build" 
[15:50:43]  Error: Could not resolve 'angular2-fusioncharts/index' from /Local/Users/jharris/Desktop/dev/.tmp/app/app.module.ngfactory.js 

Any help or direction would be much appreciated. Thank you.

jayh92 commented 7 years ago

@sumit-fusioncharts @anindya-fusioncharts Hi, is there currently anybody looking into, or working on, this request for functioning Angular2 support? I would really appreciate any information on this topic. Thank you!

rohitkr commented 7 years ago

@jayh92 Hello,

Could you please check with the latest angular2-fusioncharts.

I have also created a sample for angular2-fusioncharts, angular2-seed-fusioncharts.

Please let me know if you still have the same issue.