add_labels | R Documentation |
Add value labels to an scplot
add_labels(
object,
nudge_y = 5,
nudge_x = 0,
round = NULL,
text = list(),
background = list(),
variable = ".dvar",
padding = NULL
)
object |
An scplot object (class |
nudge_y |
Offset on the y-axis. |
nudge_x |
Offset on the x-axis. |
round |
Number of digits of the labels. |
text |
List with text parameters ( |
background |
A list with background styling arguments (fill, color, size, linetype). |
variable |
Name of the dataline variable to apply the style. |
padding |
Padding size around text. |
An object of class scplot
(seescplot()
) with added/changed element
labels
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.