Skip to contents

R6 class defining the configuration of Y-axis

Super class

tlf::AxisConfiguration -> YAxisConfiguration

Public fields

position

character position of the Y-axis

Methods

Inherited methods


Method updatePlot()

Update axis configuration on a ggplot object

Usage

YAxisConfiguration$updatePlot(
  plotObject,
  xAxisLimits = NULL,
  xlim = lifecycle::deprecated()
)

Arguments

plotObject

ggplot object

xAxisLimits

limits of x axis to prevent coord_cartesian to overwrite its properties

xlim

[Deprecated]. Replaced by xAxisLimits argument.

Returns

A ggplot object with updated axis properties


Method clone()

The objects of this class are cloneable with this method.

Usage

YAxisConfiguration$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.