You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would love to have a way to make the browser open a url on clicking on data points (a stacked bar in my case), and was thinking (hoping actually) that that functionality was provided by plotly::layout::ClickMode::Event, and then somehow give it a URL or javascript?
I had been trying to get the plotly_click listener to work in rust/wasm until finally seeing this issue and that it's currently unimplemented :( it would be very highly appreciated if this would be possible.
my current hacky workaround is to use set_onclick on the div containing the plot and then crudely mapping cursor positions, but this only works for me because all i need are the x and y positions and no deeper data.
Given the following Scatter example, it is unclear how to add an onclick listener to the chart.
In Plotly.js, this can be acheived by capturing the
plotly_click
event, i.e.Is it supported in plotly.rs?
The text was updated successfully, but these errors were encountered: