View source: R/legend_annotation_utils.R
calculate_smart_text_size | R Documentation |
Smart Text Size Calculator
calculate_smart_text_size(n_items, base_size = 10, min_size = 8, max_size = 14)
n_items |
Number of items to display |
base_size |
Base text size |
min_size |
Minimum text size |
max_size |
Maximum text size |
Calculated text size
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.