Label positioning strategy similar to bumpup
, but with a cap
on the maximum vertical displacement that can be applied to a label. If
the required displacement overshoots the cap, the label is dropped. This
creates an effect similar to the labelling strategy seen in Tableau,
except with better results.
1 | bumpup_bounded(d, max_bump = 1.1, ...)
|
d |
the directlabels positioning dataframe. |
max_bump |
the maximum bump factor allowed before a label is dropped. Expressed as a factor of the label's height. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.