Topic: mdbChart event for click on legend entry

Schüpbach priority asked 3 years ago

In mdbChart (type Doughnut), when clicking on an entry in the legend, the entry gets crossed out and the data disappears in the chart. We have the data also displayed in a table, hence we want to hide the table entries of the disappeared chart data.

Expected behavior The fired event describes which data entry has been made visible/invisible.

Actual behavior I cannot find nor the attribute describing the change in visibility of the data set neither anything in the documentation describing how to retrieve the info, which label has been clicked and in which state (visible/hidden) it is. If there is no way of extracting this info, it would be nice if the data selection via the legend could be turned off.

Resources (screenshots, code snippets etc.)

Thanks for your support Andreas

Arkadiusz Idzikowski staff commented 3 years ago

We will take a closer look at those problems and add the necessary features to the component.

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: Priority
  • Premium support: Yes
  • Technology: MDB Angular
  • MDB Version: 9.3.1
  • Device: lenovo t490
  • Browser: Firefox
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: No