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: Line chart doesn't render all data until after media query fires

jriley pro asked 4 years ago


So the line chart works correctly AFTER a media query fires when you resize the window - before that though, it only renders the first two data points. Same problem in two different charts, both in the snippet below.

You can find a snippet of it here: https://mdbootstrap.com/snippets/jquery/jriley/2350004

Thanks for any help!


Krzysztof Wilk staff answered 4 years ago


Hi!

You have to update your data after getting it. You can check corrected example here: https://mdbootstrap.com/snippets/jquery/m-dembna/2362853#js-tab-view

Best regards


jriley pro commented 4 years ago

That did it, thank you very much!


Krzysztof Wilk staff commented 4 years ago

I'm glad I could help :)



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Resolved

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.19.1
  • Device: Any
  • Browser: Any
  • OS: ANy
  • Provided sample code: No
  • Provided link: Yes