What version of Charts.js is in MDB 3.9.0


Topic: What version of Charts.js is in MDB 3.9.0

Roman pro premium 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 pro premium 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

Open

Specification of the issue
  • User: Pro
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 3.9.0
  • Device: PC
  • Browser: Google Chrome
  • OS: Windows
  • Provided sample code: No
  • Provided link: Yes
Tags