I am new to angular and web applications in general, and it is difficult for me to work with zingchart.
What I would like to do is create charts in an angular application via zingchart, but I get this error on the browser console when I try to run my application.
I am sure that I correctly added the "zingchart-angularjs" dependency in my controller, but I am not sure that I am declaring zingchart libraries inside my hmtl. I have a few questions, please:
1) I downloaded zingchart, but after downloading I could not find the zingchart.min.js file. How important is it to work? How to download?
2) I am working on an eclipse. Should I install zingchart on eclipse as a plugin? If so, can someone help? So far, I just moved the zingchart-angularjs.js file to the project folder and declared my path in my html in script tags. Will it work for an eclipse?
3) How do I accurately declare zingchart libs inside html? I want to say whether I should tell FULL the path for the zingchart-angularjs.js file, for example, "script type =" text / javascript "src =" C: / kdi / workspace / cnt-ui-web / src / main / webapp / app / spas / cnt / partials / zingchart.min.js "/ script or declaring a relative path is enough? If the latter, how should it be?
Thank.
source
share