-
Notifications
You must be signed in to change notification settings - Fork 120
Consider adding an example for onclick listener #215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @chungwong. This is not supported. Would be nice if you could submit a PR with such a feature. |
First of all thank you for the marvellous crate! 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 my current hacky workaround is to use |
@fraxinas , is the work you did something you would like to contribute to in a PR. It can also be in the form of an example in the examples folder or as an example in the mdBook. My current focus is on getting the static image to work, hene that is where all my effort will be going for a while. |
Thanks to @h4ck4l1, there is now support for |
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: