getColorFromOutputGroup | R Documentation |
Get the appropriate colors from an output group
getColorFromOutputGroup(
group,
data,
dataMapping,
legendVariable = "legend",
colorVariable = "color"
)
group |
A data.frame mapping properties to output groups |
data |
A data.frame |
dataMapping |
A |
legendVariable |
Name of legend variable in |
colorVariable |
Name of color variable in |
A sorted array of color values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.