feat: new default label for horizontal stacked plot

This commit is contained in:
Andreas Gammelgaard Damsbo 2025-10-06 12:57:50 +02:00
commit 81a1a2a870
No known key found for this signature in database
2 changed files with 6 additions and 3 deletions

View file

@ -12,7 +12,8 @@ vertical_stacked_bars(
t.size = 10,
l.color = "black",
l.size = 0.5,
draw.lines = TRUE
draw.lines = TRUE,
label.str = "{n}\\n{round(100 * p,0)}\%"
)
}
\arguments{