Topic: How to get the chart instance in Angular MDB Charts?

Kristian Mark Surat free asked 2 years ago

Expected behavior Getting the chart instance in Angular using ViewChild. Actual behavior It is not working, the returned variable is undefined. Resources (screenshots, code snippets etc.)

Arkadiusz Idzikowski staff commented 2 years ago

@Kristian Mark Surat Did you try to access the directive instance in ngAfterViewInit hook? Please provide some example HTML/TS code so we can reproduce this problem on our end.

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 Angular
  • MDB Version: MDB5 1.0.0-beta5
  • Device: PC
  • Browser: Chrome
  • OS: Linux
  • Provided sample code: No
  • Provided link: No