How do I handle click event on Chart

Currently, for the chart component Retool only offers 2 events Select & Clear. But I want to handle user clicks on legend area ( display all label of chart ). I have tried to implement some ways to access to Chart element and add EventListener for it but from the security policy of Retool we can't do that way.
So I want to ask if there is any workaround solution for this kind of situation


Hi @Kim_Thi Thanks for reaching out with this use case! It seems like this would require creating your own custom React/JS component currently :disappointed:

I'll submit a feature request internally to add this functionality to our native chart