Server side function that "collects" points for editing when in click and drag selection mode
1 2 3 4 5 6 | drag_point_collection(
input,
brush_id,
valid_status = "drag",
status_var = reactive({ TEMP_GRAPHICS_SETTINGS[["select_mode"]] })
)
|
input |
shiny internal |
brush_id |
the brush id used to perform point selection in the "main" editing plot on a given panel |
valid_status |
defaults to "drag" - the other option is "click" in terms of point selection |
status_var |
the reactiveValues that "track" whether the select_mode status is "drag" or "click" |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.