View source: R/addline_format.R
addline_format
Multi-line axis labels
1 | addline_format(x, ...)
|
1 2 3 4 | #
ggplot(counts, aes(x=norm, y=value, fill=type)) +
geom_col() +
scale_x_discrete(labels=addline_format(c("FirstLine SecondLine", "Two-line Label")))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.