google / charts

https://pub.dev/packages/charts_flutter
Apache License 2.0
2.81k stars 1.2k forks source link

How to add a legend item visibility listener #800

Closed artkoenig closed 1 year ago

artkoenig commented 1 year ago

Hi, In the bar chart the default behavior of the clicking on the legend elements just toggles their visibility in the graph. Is it possible to add a listener which is called if the visibility of the legend elements is changed? I would like to execute some custom logic, if the user clicks on a legend item.

domesticmouse commented 1 year ago

This package is discontinued, per the README.