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: Can't add chart

arashabtahi free asked 3 years ago


After adding the html and script I get the following error

Uncaught TypeError: mdb.Chart is not a constructor at index.html:391

line 391: new mdb.Chart(document.getElementById('pie-chart'), dataPie);


Dawid Wajszczuk staff commented 3 years ago

Hi. Did you import all the necessary files to your project? Here is the instruction https://mdbootstrap.com/docs/standard/pro/installation/. Or maybe there is some typo in your path to our JS file.



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Opened

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB Standard
  • MDB Version: MDB5 3.9.0
  • Device: Laptop
  • Browser: Chrome
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: No