Topic: Event onClick pie chart
Pellegrino priority asked 7 months ago
I would like to fire an onClick event when the graph is clicked and retrieve an id to recall a specific browser page. What is the right method? There is no example in the mdb5 documentation.
Kamila Pieńkowska staff answered 7 months ago
I've prepared a snippet. I've passed a labet to a alert but you can pass whatever you want: https://mdbootstrap.com/snippets/standard/kpienkowska/6070455?view=project#js-tab-view
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Priority
- Premium support: Yes
- Technology: MDB Standard
- MDB Version: MDB5 7.2.0
- Device: pc
- Browser: chrome
- OS: windows
- Provided sample code: No
- Provided link: No