R6 class defining theme background properties
Public fields
watermark
character defining content of watermark
legendPosition
character defining where legend should usually be placed
legendTitle
character defining the content of legend title
plot
BackgroundElement
object for plot area properties (outside of panel)panel
BackgroundElement
object for plot area properties (inside of panel)xAxis
BackgroundElement
object for x axis propertiesyAxis
BackgroundElement
object for y axis propertiesy2Axis
BackgroundElement
object for right y axis propertiesxGrid
BackgroundElement
object for x grid propertiesyGrid
BackgroundElement
object for y grid propertiesy2Grid
BackgroundElement
object for right y grid propertieslegend
BackgroundElement
object for legend area properties
Methods
Method new()
Create a new ThemeBackground
object
Usage
ThemeBackground$new(
watermark = NULL,
legendPosition = NULL,
legendTitle = NULL,
plot = NULL,
panel = NULL,
xAxis = NULL,
yAxis = NULL,
y2Axis = NULL,
xGrid = NULL,
yGrid = NULL,
y2Grid = NULL,
legend = NULL,
baseFill = "white",
baseColor = "black",
baseSize = 0.5,
baseLinetype = "solid"
)
Arguments
watermark
character defining content of watermark
legendPosition
character defining where legend should usually be placed
legendTitle
character defining the content of legend title
plot
BackgroundElement
object or list for plot area properties (outside of panel)panel
BackgroundElement
object or list for plot area properties (inside of panel)xAxis
BackgroundElement
object or list for x axis propertiesyAxis
BackgroundElement
object or list for y axis propertiesy2Axis
BackgroundElement
object or list for right y axis propertiesxGrid
BackgroundElement
object or list for x grid propertiesyGrid
BackgroundElement
object or list for y grid propertiesy2Grid
BackgroundElement
object or list for right y grid propertieslegend
BackgroundElement
object or list for legend area propertiesbaseFill
name of base color fill of undefined background elements. Default is "white".
baseColor
name of base color of undefined background elements. Default is "black".
baseSize
name of base size of undefined background elements. Default is 0.5.
baseLinetype
name of base size of undefined background elements. Default is "solid".