We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Given the following Scatter example, it is unclear how to add an onclick listener to the chart.
let mut plot = Plot::new(); let trace = Scatter::new(vec![0, 1, 2], vec![2, 1, 0]); plot.add_trace(trace); let layout = plotly::Layout::new().title("Displaying a Chart in Yew"); plot.set_layout(layout); plotly::bindings::new_plot(id, &plot).await;
In Plotly.js, this can be acheived by capturing the plotly_click event, i.e.
plotly_click
plot.on('plotly_click', function(data) { .. });
Is it supported in plotly.rs?
The text was updated successfully, but these errors were encountered:
Hi @chungwong. This is not supported. Would be nice if you could submit a PR with such a feature.
Sorry, something went wrong.
No branches or pull requests
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: