View source: R/scale-truncate.R
scale_x_truncate | R Documentation |
Truncate the labels of a plot's discrete x-axis labels so that the text does not overflow and collide with other bars.
scale_x_truncate(n = 15, ...)
scale_x_wrap(width = 15, ...)
n |
The maximum width of string. Passed to |
... |
Additional arguments passed to |
width |
Positive integer giving target line width in characters. A width
less than or equal to 1 will put each word on its own line. Passed to
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.