View source: R/image-interact-opts.R
This generates an object representing brushing options, to be passed as the
brush
argument of imageOutput
or
plotOutput
.
1 2 3 |
id |
Input value name. For example, if the value is |
fill |
Fill color of the brush. |
stroke |
Outline color of the brush. |
opacity |
Opacity of the brush |
delay |
How long to delay (in milliseconds) when debouncing or throttling, before sending the brush data to the server. |
delayType |
The type of algorithm for limiting the number of brush
events. Use |
clip |
Should the brush area be clipped to the plotting area? If FALSE, then the user will be able to brush outside the plotting area, as long as it is still inside the image. |
direction |
The direction for brushing. If |
resetOnNew |
When a new image is sent to the browser (via
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.