View source: R/class_ManualLegend.R
new_manual_legend | R Documentation |
Create a new ManualLegend object.
new_manual_legend(values, colors, labels)
values |
|
colors |
|
labels |
|
A ManualLegend object.
# create new object
l <- new_manual_legend(c(0, 1), c("#000000", "#AAAAAA"), c("a", "b"))
# print object
print(l)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.