R6 class defining the configuration of a ggplot object for pie charts
See also
Other PlotConfiguration classes:
AxisConfiguration,
BackgroundConfiguration,
BackgroundElement,
BoxWhiskerPlotConfiguration,
CumulativeTimeProfilePlotConfiguration,
DDIRatioPlotConfiguration,
ExportConfiguration,
HistogramPlotConfiguration,
LabelConfiguration,
LegendConfiguration,
LineElement,
ObsVsPredPlotConfiguration,
PKRatioPlotConfiguration,
PlotConfiguration,
PlotGridConfiguration,
QQPlotConfiguration,
ResVsPredPlotConfiguration,
ResVsTimePlotConfiguration,
TimeProfilePlotConfiguration,
TornadoPlotConfiguration,
XAxisConfiguration,
YAxisConfiguration
Super class
tlf::PlotConfiguration -> PieChartPlotConfiguration
Public fields
colorPalettecolor palette property from
ggplot2chartFontFontobject defining properties of text within pie chartstartOffset of starting point from 12 o'clock in radians. Offset is applied clockwise or anticlockwise depending on value of direction
clockwiseDirectionlogical defining if values are displayed in clockwise order
Methods
Method new()
Create a new PieChartPlotConfiguration object
Usage
PieChartPlotConfiguration$new(
colorPalette = NULL,
chartFont = NULL,
start = 0,
clockwiseDirection = TRUE,
...
)Arguments
colorPalettecolor palette property from
ggplot2chartFontFontobject defining properties of text within pie chartstartOffset of starting point from 12 o'clock in radians. Offset is applied clockwise or anticlockwise depending on value of direction
clockwiseDirectionlogical defining if values are displayed in clockwise order
...parameters inherited from
PlotConfiguration