Description Usage Arguments Examples
View source: R/colorscale-addin.R
Interactively create a color palette from a unique color
1 2 3 4 | addin_color_scale(
color = "#1D9A6C",
viewer = getOption(x = "colorscale.viewer", default = "pane")
)
|
color |
Hexadecimal string or a name for color. |
viewer |
Where to display the gadget: |
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
if (interactive()) {
# Launch the gadget with :
addin_color_scale()
}
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.