Description Usage Arguments Details Value
Prepares data in order that it may be displayed in tooltip. The row from the data which fits to the hover the most will be selected.
1 2 3 4 5 6 7 | extract_tt_data_row(
hv,
plot_info,
plot_data,
plot_type = "geom_point",
tt_range = 5
)
|
hv |
Hoover. |
plot_info |
chosen mapping from the |
plot_data |
data on which the ggplot is based |
plot_type |
Type of plot corresponding to the data from first mapping.
Accepts either |
tt_range |
A number denoting maximum distance between hoover and objects on the plot.
The row, whose distance to the hoover is less than |
This function filters one row of the imputed data in order that it corresponds the most to the hoover coordinates.
prepare_tt_data
returns prepared data frame containing one record.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.