BackgroundElement | R Documentation |
R6 class defining the properties of background elements
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
new()
Create a new BackgroundElement
object
BackgroundElement$new(fill = NULL, color = NULL, size = NULL, linetype = NULL)
fill
character color filling of the background element
color
character color of the frame of the background element
size
character size of the frame of the background element
linetype
character linetype of the frame of the background element
A new BackgroundElement
object
createPlotElement()
Create a ggplot2::element_rect
directly usable by ggplot2::theme
.
BackgroundElement$createPlotElement( fill = NULL, color = NULL, size = NULL, linetype = NULL )
fill
character color filling of the background element
color
character color of the frame of the background element
size
character size of the frame of the background element
linetype
character linetype of the frame of the background element
An element_rect
object.
clone()
The objects of this class are cloneable with this method.
BackgroundElement$clone(deep = FALSE)
deep
Whether to make a deep clone.
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.