Topic: Event onClick pie chart

Pellegrino priority asked 1 week 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 1 week 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



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Answered

Specification of the issue

  • 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