Skip to contents

Set legend font properties

Usage

setLegendFont(
  plotObject,
  color = NULL,
  size = NULL,
  fontFamily = NULL,
  fontFace = NULL,
  angle = NULL,
  align = NULL
)

Arguments

plotObject

ggplot object

color

character defining the color of legend font

size

numeric defining the size of legend font

fontFamily

character defining the family of legend font

fontFace

character defining the legend font face as defined in helper enum FontFaces.

angle

numeric defining the angle of legend font

align

character defining the alignment of legend font as defined in helper enum Alignments.

Value

A ggplot object