Learn R Programming

maidr (version 0.1.2)

Ggplot2BarLayerProcessor: Bar Layer Processor

Description

Processes bar plot layers with complete logic included

Arguments

Super class

maidr::LayerProcessor -> Ggplot2BarLayerProcessor

Methods

Inherited methods


Method process()

Usage

Ggplot2BarLayerProcessor$process(
  plot,
  layout,
  built = NULL,
  gt = NULL,
  scale_mapping = NULL,
  grob_id = NULL,
  panel_id = NULL,
  panel_ctx = NULL
)


Method needs_reordering()

Usage

Ggplot2BarLayerProcessor$needs_reordering()


Method reorder_layer_data()

Usage

Ggplot2BarLayerProcessor$reorder_layer_data(data, plot)


Method extract_data()

Usage

Ggplot2BarLayerProcessor$extract_data(
  plot,
  built = NULL,
  scale_mapping = NULL,
  panel_id = NULL
)


Method generate_selectors()

Usage

Ggplot2BarLayerProcessor$generate_selectors(
  plot,
  gt = NULL,
  grob_id = NULL,
  panel_ctx = NULL
)


Method clone()

The objects of this class are cloneable with this method.

Usage

Ggplot2BarLayerProcessor$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.