View source: R/fig_selection.R
tool_selection | R Documentation |
This adds a selection callback to be used with the box select or lasso select tools.
tool_selection(fig, callback, ref_layer)
fig |
figure to modify |
callback |
a callback to be applied to this tool - either a character string of javascript code or any one of |
ref_layer |
name of the layer that the callback should be applied to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.