Topic: Update Method for mdb-chart

bernspe priority asked 11 months ago

Expected behavior MDBChart update on data update Actual behavior no update Resources (screenshots, code snippets etc.)

Bartosz Cylwik staff answered 11 months ago

Hi! You can update the data used in your chart by updating the data ref value and options by updating the options ref value, like shown here in this snippet:

The only thing is that those changes cannot be performed at the same time. The default animation duration in charts is 1000ms so there needs to be more than 1000ms between updating the options and data.

Best Regards!

Please insert min. 20 characters.


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



Specification of the issue

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB Vue
  • MDB Version: MDB5 4.0.0
  • Device: Desktop
  • Browser: Chrome
  • OS: MacOSX
  • Provided sample code: No
  • Provided link: No