R6 class defining the properties of background elements
See also
Other PlotConfiguration classes:
AxisConfiguration,
BackgroundConfiguration,
BoxWhiskerPlotConfiguration,
CumulativeTimeProfilePlotConfiguration,
DDIRatioPlotConfiguration,
ExportConfiguration,
HistogramPlotConfiguration,
LabelConfiguration,
LegendConfiguration,
LineElement,
ObsVsPredPlotConfiguration,
PKRatioPlotConfiguration,
PieChartPlotConfiguration,
PlotConfiguration,
PlotGridConfiguration,
QQPlotConfiguration,
ResVsPredPlotConfiguration,
ResVsTimePlotConfiguration,
TimeProfilePlotConfiguration,
TornadoPlotConfiguration,
XAxisConfiguration,
YAxisConfiguration
Public fields
fillcharacter defining the color filling of the background element
colorcharacter defining the color of the background element frame/line
sizenumeric defining the size of the background element frame/line
linetypecharacter defining the size of the background element frame/line
Methods
Method new()
Create a new BackgroundElement object
Usage
BackgroundElement$new(fill = NULL, color = NULL, size = NULL, linetype = NULL)Method createPlotElement()
Create a ggplot2::element_rect directly usable by ggplot2::theme.
Usage
BackgroundElement$createPlotElement(
fill = NULL,
color = NULL,
size = NULL,
linetype = NULL
)