react-native-plotly icon indicating copy to clipboard operation
react-native-plotly copied to clipboard

How can I use the plotly event functions?

Open narduzzi opened this issue 4 years ago • 1 comments

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.

narduzzi avatar Jun 12 '20 08:06 narduzzi

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.

rynobax avatar Jun 12 '20 19:06 rynobax