chart_fill_ggplot2: Apply ggplot2 color scale

View source: R/themes.R

chart_fill_ggplot2R Documentation

Apply ggplot2 color scale

Description

The default hue color scale from ggplot2.

Usage

chart_fill_ggplot2(x, stroke = TRUE)

Arguments

x

a mschart object

stroke

a boolean. Apply the color scale to stroke? Defaults to TRUE.

Value

a mschart object

chart_fill_ggplot2()

fig_theme_ggplot2.png

Examples

p <- ms_scatterchart(
  data = iris, x = "Sepal.Length",
  y = "Sepal.Width", group = "Species"
)

p <- theme_ggplot2(p)
p <- chart_fill_ggplot2(p)

mschart documentation built on May 17, 2026, 1:09 a.m.