theme_ggplot2: Apply ggplot2 theme

View source: R/themes.R

theme_ggplot2R Documentation

Apply ggplot2 theme

Description

A theme that approximates the style of ggplot2::theme_grey.

Usage

theme_ggplot2(x, base_size = 11, base_family = "Arial")

Arguments

x

a mschart object

base_size

base font size

base_family

font family

Value

a mschart object

theme_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)

ardata-fr/mschart documentation built on April 30, 2024, 11:11 p.m.