Skip to contents

R6 class defining the configuration of X-axis

Super class

tlf::AxisConfiguration -> XAxisConfiguration

Methods

Inherited methods


Method updatePlot()

Update axis configuration on a ggplot object

Usage

XAxisConfiguration$updatePlot(
  plotObject,
  yAxisLimits = NULL,
  ylim = lifecycle::deprecated()
)

Arguments

plotObject

ggplot object

yAxisLimits

values of axisLimits for y axis to prevent coord_cartesian to overwrite its properties

ylim

[Deprecated]. Replaced by yAxisLimits argument.

Returns

A ggplot object with updated axis properties


Method clone()

The objects of this class are cloneable with this method.

Usage

XAxisConfiguration$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.