react-native-plotly
react-native-plotly copied to clipboard
How can I use the plotly event functions?
Hello!
I would like to use the event callbacks from plotly. Example : how can I trigger a fonction when the graph is clicked ('plotly_click' event)?
Thanks in advance for your help.
There is not currently a way to do that with this library. I think it is something that can be added, but it's going to be a couple weeks before I will be able to work on it.
If you need the feature before then, this library is pretty small, so I would recommend just forking it and implementing it yourself. If you do end up doing that, I would love to see what you come up with.