How to get the chart instance in Angular MDB Charts?


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

Kristian Mark Surat asked 3 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 3 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.

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: 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