Skip to main contentModule theme
Source pub use elements::ElementLine;pub use elements::ElementRect;pub use elements::ElementText;
- elements
- presets
- Margin
- Plot margins (in pixels).
- Theme
- Complete theme specification for a plot.
- ThemeUpdate
- Incremental theme modifications. All fields are optional — only
Some values are applied.
Like R’s theme(axis.text.x = element_text(...)).
- LegendDirection
- Layout direction of the legend keys (R’s
legend.direction). - LegendPosition
- Position of the legend.
- TagPosition
- Corner for the
labs(tag) label (R’s plot.tag.position). - TitlePosition
- Whether title/subtitle/caption align to the panel or the whole plot width
(R’s
plot.title.position / plot.caption.position).