Learn R Programming

mschart (version 0.4.1)

theme_ggplot2: Apply ggplot2 theme

Description

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

Usage

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

Value

a mschart object

Arguments

x

a mschart object

base_size

base font size

base_family

font family

theme_ggplot2()

Examples

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

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

Run the code above in your browser using DataLab