Ctrl+click on plot

Hello guys!
I need to trigger a event with the ctrl+click. When i use plotly_click event i don’t find how to check if the ctrl is pressed.
I don’t know if the event object is nested somewhere in the return object of the pltoly_click event.
Thank you!

We don’t return information about crtl in our events at the moment.

This would be a nice addition to the library though and a good opportunity for someone to make a pull request starting here: https://github.com/plotly/plotly.js/blob/master/src/plots/cartesian/graph_interact.js#L1302 .

1 Like

I’m trying to implement the functionality, but i don’t understand how string modules into one js to see the result!
Thanks a lot for helping me!

Our contributing guidelines should help you get started.