PieChartPlotConfiguration: PieChartPlotConfiguration

PieChartPlotConfigurationR Documentation

PieChartPlotConfiguration

Description

R6 class defining the configuration of a ggplot object for pie charts

Super class

tlf::PlotConfiguration -> PieChartPlotConfiguration

Public fields

colorPalette

color palette property from ggplot2

chartFont

Font object defining properties of text within pie chart

start

Offset of starting point from 12 o'clock in radians. Offset is applied clockwise or anticlockwise depending on value of direction

clockwiseDirection

logical defining if values are displayed in clockwise order

Methods

Public methods


Method new()

Create a new PieChartPlotConfiguration object

Usage
PieChartPlotConfiguration$new(
  colorPalette = NULL,
  chartFont = NULL,
  start = 0,
  clockwiseDirection = TRUE,
  ...
)
Arguments
colorPalette

color palette property from ggplot2

chartFont

Font object defining properties of text within pie chart

start

Offset of starting point from 12 o'clock in radians. Offset is applied clockwise or anticlockwise depending on value of direction

clockwiseDirection

logical defining if values are displayed in clockwise order

...

parameters inherited from PlotConfiguration

Returns

A new PieChartPlotConfiguration object


Method clone()

The objects of this class are cloneable with this method.

Usage
PieChartPlotConfiguration$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

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


Open-Systems-Pharmacology/TLF-Library documentation built on Feb. 8, 2025, 11:22 a.m.