View source: R/class_ContinuousLegend.R
new_continuous_legend | R Documentation |
Create a new ContinuousLegend object.
new_continuous_legend(min_value, max_value, colors, n = 4)
min_value |
|
max_value |
|
colors |
|
n |
|
A ContinuousLegend object.
# create new object
l <- new_continuous_legend(0, 1, c("#000000", "#DDDDDD"))
# print object
print(l)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.