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: What version of Charts.js is in MDB 3.9.0

Roman priority asked 3 years ago


Hello, I have a question about the version of Charts.js implemented in MDB 3.9.0. The Chrome console shows me an error

Cannot read properties of undefined (reading 'xAxes')

so I think it tries to read the xAxes property. A have read the Charts.js manual and at https://www.chartjs.org/docs/latest/getting-started/v3-migration.html they describe xAxes arrays was removed from version 2 to version 3. That is why I think the version in MDB is too old but I am not sure. The same (xAxes, yAxes) is in your manual at https://mdbootstrap.com/docs/standard/data/charts-advanced/.

Thank you


Roman priority commented 3 years ago

Now I can see in mdb.min.js one line saying "Chart.js v2.9.4". Do you plan to upgrade the version of Chart.js?


Dawid Wajszczuk staff commented 3 years ago

Yes, we do plan to upgrade Chart.js.



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: Priority
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 3.9.0
  • Device: PC
  • Browser: Google Chrome
  • OS: Windows
  • Provided sample code: Yes
  • Provided link: Yes