geom_text_pilot: A wrapper for the text geometry in ggplot2

View source: R/wrappers.R

geom_text_pilotR Documentation

A wrapper for the text geometry in ggplot2

Description

This function is identical to geom_text in ggplot2. The only difference is that the default arguments implement the pilot chart style.

Usage

geom_text_pilot(
  color = "#ffffff",
  family = getOption("pilot.geom_text_family"),
  fontface = "bold",
  ...
)

Arguments

color

An RGB hex string indicating the color to use for the text. The default is "#ffffff".

family

A string indicating the font family to use for the text. The default depends on the operating system.

fontface

A string indicating the font face to use for the text. The default is "bold".

...

Any other arguments passed to geom_text.


olihawkins/pilot documentation built on July 21, 2022, 9:48 a.m.