Sign in to follow this  
estsolba

Angular FusionCharts is not defined problem

Recommended Posts

Hello,

 

I am building a Laravel, AngularJS web app. I inject the dependency and all the js files are compiled correctly in the app.js. But whenever I try to load the page, the error appears: Uncaught ReferenceError: FusionCharts is not defined(anonymous function) @ fusioncharts.charts.js:11

All the fusion js files are in a folder which is compiled by gulp. The angular-fusion js file is in the directives folder and it is injected correctly. I am really confused by this problem. Any ideas?

Share this post


Link to post
Share on other sites

Hi,

 

Can you refer the fiddle http://jsfiddle.net/moonmi/hxsm9ow5/ ? (it has been updated with latest FusionCharts and angular plugin) It only happens when the fusioncharts js files are not present in the intended folder.

 

and ref. doc: http://www.fusioncharts.com/dev/using-with-javascript-libraries/angularjs/introduction.html

 

Please re-check with the files and the sample shared.

 

Thanks.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this