Topic: Issue in line chart

Anuj Kumar free asked 3 years ago

I have used line chart but not able to set the x axis dynamically. Please suggest me and help me out to set the x axis and y axis both together dynamically.

Use this Advance card link-

My website link -

Anuj Kumar free answered 3 years ago

Hey Michal Szymanski ,

I'm waiting for your response . Please guide me and give me any solution.

Tomasz Makowski free commented 3 years ago


Yes, it is possible to change data in charts. Try to use .update() method.

Here is an example:


Anuj Kumar free answered 3 years ago

Sorry, I have posted the wrong version.

Yes I'm using MDB4

Michal Szymanski staff answered 3 years ago

What version of MDB do you use? You posted your question in MDB 5 section but the component you want to use is MDB 4 (

MDB 5 and MDB 4 are separated products and they are not compatible.

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: Free
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.19.1
  • Device: Laptop
  • Browser: chrome
  • OS: windows 10
  • Provided sample code: No
  • Provided link: Yes