geom_text_commonslib: A wrapper for the text geometry in ggplot2

View source: R/wrappers.R

geom_text_commonslibR 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 Commons Library chart style.

Usage

geom_text_commonslib(
  color = "#ffffff",
  family = "Open Sans",
  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 is "Open Sans".

fontface

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

...

Any other arguments passed to geom_text.


houseofcommonslibrary/clcharts documentation built on June 10, 2025, 9:16 p.m.