Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: ERROR ReferenceError: EasyPieChart is not defined (using mdb-simple-chart)

yeisonvelez11 free asked 5 years ago


I am getting this error, using the next code in my html view.

<mdb-simple-chart percent="85" barColor="ef1e25" trackColor="f2f2f2" scaleColor="303030" scaleLength="1" lineCap="round" lineWidth="5"
trackWidth="10" size="110" rotate="0" [animate]="{duration: 1000, enabled: true}"></mdb-simple-chart>

Damian Gemza staff answered 5 years ago


Dear yeisonvelez11,

Could you please check, if in your project the easy-pie-chart dependency is installed?

Also please check, if you have imported the easy-pie-chart script in the angular.json file.

Those steps are described in our 5min-quickstart guide.

Best Regards,

Damian


yeisonvelez11 free commented 5 years ago

I'm sure that EasyPieChart is called in m angular.json. Also the folder is created in node modules. What should I do? I feel that this library needs to be imported from somewhere else.


Arkadiusz Idzikowski staff commented 5 years ago

Please show us your app.module, package.json and angular.json files.



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Resolved

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 7.0.0
  • Device: web
  • Browser: chrome
  • OS: windows 10
  • Provided sample code: No
  • Provided link: No
Tags