tool_crosshair | R Documentation |
Add "crosshair" tool to a Bokeh figure
tool_crosshair(fig)
fig |
figure to modify |
Tools can be easily specified as a vector of tool names in the tools
argument when instantiating a figure
. In this case, they are added with defaults. Explicitly calling these tool_
functions will manually add the tool to a figure and allow additional specification of parameters.
Other tools:
tool_box_select()
,
tool_box_zoom()
,
tool_hover()
,
tool_lasso_select()
,
tool_pan()
,
tool_reset()
,
tool_resize()
,
tool_save()
,
tool_tap()
,
tool_wheel_zoom()
figure() %>% ly_points(1:10) %>%
tool_crosshair()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.