theme
Parameters
default="e" ("e", "pow"). Format for numeric labels in scientific notation. e for "e" notation (e.g. 1e+6); pow for "power" notation (e.g. 1x10^6). This will enable superscript formatting for the exponent.
All line elements.
All rectangle elements.
All text elements.
All line elements: plot, axes, legends.
All axis elements: lines, ticks, texts, titles.
Option to place axis (lines, tick-marks and labels) over the data layers.
Option to place X-axis (lines, tick-marks and labels) over the data layers.
Option to place Y-axis (lines, tick-marks and labels) over the data layers.
Labels of axes.
Labels of axes.
Labels of axes.
Tick labels along axes.
Tick labels along axes.
Tick labels along axes.
Tick marks along axes.
Tick marks along axes.
Tick marks along axes.
Length of tick marks.
Length of tick marks.
Length of tick marks.
Lines along axes.
Lines along axes.
Lines along axes.
Background of legend.
Legend item labels.
Title of legend.
Margin around each legend. Margins around the text. The margin may be specified using a number or a list of numbers:
a number or list of one number - the same margin it applied to all four sides;
a list of two numbers - the first margin applies to the top and bottom, the second - to the left and right;
a list of three numbers - the first margin applies to the top, the second - to the right and left, the third - to the bottom;
a list of four numbers - the margins are applied to the top, right, bottom and left in that order. It is acceptable to use
null
for any side; in this case, the default side value for the legend margin side will be used.
Spacing between legends.
Spacing between legends in the horizontal direction.
Spacing between legends in the horizontal direction.
Background underneath legend keys.
Size of legend keys.
Key background width.
Key background height.
Spacing between legend keys
Spacing between legend keys in the horizontal direction.
Spacing between legend keys in the horizontal direction.
Spacing between plotting area and legend box.
Background of plotting area.
Border around plotting area.
Option to place border around plotting area over the data layers.
Grid lines.
Grid lines.
Grid lines.
Grid lines.
Grid lines.
Grid lines.
Grid lines.
Option to place major grid lines and minor grid lines over the data layers.
Option to place X-axis major grid lines and minor grid lines over the data layers.
Option to place Y-axis major grid lines and minor grid lines over the data layers.
Inset for a panel. The inset behaves like a padding for coordPolar(transofrmBkgr = false)
otherwise it behaves like a margin around the panel. The inset may be specified using a number or a list of numbers:
a number or list of one number - the same inset it applied to all four sides;
a list of two numbers - the first inset applies to the top and bottom, the second - to the left and right;
a list of three numbers - the first margin applies to the top, the second - to the right and left, the third - to the bottom;
a list of four numbers - the insets are applied to the top, right, bottom and left in that order. It is acceptable to use
null
for any side; in this case, the default value for the plot inset side will be used.
Background of the entire plot.
Plot title.
Plot subtitle.
Plot caption.
Plot message (e.g. sampling messages). Set an elementBlank()
to show nothing. Set an elementText()
to show sampling messages (elementText()
options don't affect a message text).
Margin around entire plot. Margins around the text. The margin may be specified using a number or a list of numbers:
a number or list of one number - the same margin it applied to all four sides;
a list of two numbers - the first margin applies to the top and bottom, the second - to the left and right;
a list of three numbers - the first margin applies to the top, the second - to the right and left, the third - to the bottom;
a list of four numbers - the margins are applied to the top, right, bottom and left in that order. It is acceptable to use
null
for any side; in this case, the default side value for the plot margin side will be used.
Inset for a plotting area, including the axes with their labels, but without titles. The inset may be specified using a number or a list of numbers:
a number or list of one number - the same inset it applied to all four sides;
a list of two numbers - the first inset applies to the top and bottom, the second - to the left and right;
a list of three numbers - the first inset applies to the top, the second - to the right and left, the third - to the bottom;
a list of four numbers - the insets are applied to the top, right, bottom and left in that order.
It is acceptable to use None for any side; in this case, the default value for the plot inset side will be used.
default = "panel" ("panel", "plot"). Alignment of the plot title/subtitle. A value of "panel" means that title and subtitle are aligned to the plot panels. A value of "plot" means that title and subtitle are aligned to the entire plot (excluding margins).
default = "panel" ("panel", "plot"). Alignment of the plot caption. A value of "panel" means that caption is aligned to the plot panels. A value of "plot" means that caption is aligned to the entire plot (excluding margins).
Background of facet labels.
Horizontal facet background.
Vertical facet background.
Facet labels.
Horizontal facet labels.
Vertical facet labels.
Axes tooltips.
Axes tooltips.
Axes tooltips.
Text in axes tooltips.
Text in axes tooltips.
Text in axes tooltips.
General tooltip.
Text in general tooltip.
Tooltip title text.
Annotation text. Annotations are currently supported for pie and bar charts. Set elementText()
to specify annotation text parameters: font family and face, text size, text color (relevant for a pie chart - for those annotations that are outside the pie).
Geometry colors.