R6 class defining the legend configuration of a ggplot
object
See also
Other PlotConfiguration classes:
AxisConfiguration
,
BackgroundConfiguration
,
BackgroundElement
,
BoxWhiskerPlotConfiguration
,
CumulativeTimeProfilePlotConfiguration
,
DDIRatioPlotConfiguration
,
ExportConfiguration
,
HistogramPlotConfiguration
,
LabelConfiguration
,
LineElement
,
ObsVsPredPlotConfiguration
,
PKRatioPlotConfiguration
,
PieChartPlotConfiguration
,
PlotConfiguration
,
PlotGridConfiguration
,
QQPlotConfiguration
,
ResVsPredPlotConfiguration
,
ResVsTimePlotConfiguration
,
TimeProfilePlotConfiguration
,
TornadoPlotConfiguration
,
XAxisConfiguration
,
YAxisConfiguration
Active bindings
caption
of legend defined as data.frame with caption properties
position
of legend as defined in Enum
LegendPositions
font
Font
object defining the font of the legendbackground
Background
object defining the background of the legendtitle
character defining title of the legend
Methods
Method new()
Create a new LegendConfiguration
object
Usage
LegendConfiguration$new(
position = NULL,
caption = NULL,
title = NULL,
font = NULL,
background = NULL
)
Arguments
position
position of the legend as defined by enum
LegendPositions
caption
data.frame containing the properties of the legend caption
title
character or
Label
object defining the title of the legend. A value ofNULL
removes the title.font
Font
object defining the font of the legend captionbackground
BackgroundElement
object defining the background of the legend