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
captionof legend defined as data.frame with caption properties
positionof legend as defined in Enum
LegendPositionsfontFontobject defining the font of the legendbackgroundBackgroundobject defining the background of the legendtitlecharacter 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
positionposition of the legend as defined by enum
LegendPositionscaptiondata.frame containing the properties of the legend caption
titlecharacter or
Labelobject defining the title of the legend. A value ofNULLremoves the title.fontFontobject defining the font of the legend captionbackgroundBackgroundElementobject defining the background of the legend