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
fill
character defining the color filling of the background element
color
character defining the color of the background element frame/line
size
numeric defining the size of the background element frame/line
linetype
character 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
)