chart_fill_ggplot2 | R Documentation |
The default hue color scale from ggplot2.
chart_fill_ggplot2(x, stroke = TRUE)
x |
a mschart object |
stroke |
a boolean. Apply the color scale to stroke? Defaults to |
a mschart object
p <- ms_scatterchart(
data = iris, x = "Sepal.Length",
y = "Sepal.Width", group = "Species"
)
p <- theme_ggplot2(p)
p <- chart_fill_ggplot2(p)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.