View source: R/label_placement.R
| apply_label_placement | R Documentation |
re_measure_threshold on the short
side. Updates centers (and the complement slot on container_data)
in place with placed (x, y) plus kind, tether_x, tether_y,
leader_end_x, leader_end_y.When placement_opts is NULL, defaults to eunoia's raycast + POI
tether.
apply_label_placement(
centers,
container_data,
shapes,
labels,
quantities,
annotations = NULL,
placement_opts = NULL,
do_complement_label = FALSE,
limits,
n_vertices,
label_precision,
re_measure_threshold = 0.01
)
Returns a list with centers, container_data, and limits.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.