plot-api / jetbrains.letsPlot / theme

theme

fun theme(axisTitle: String? = null, axisTitleX: String? = null, axisTitleY: String? = null, axisText: String? = null, axisTextX: String? = null, axisTextY: String? = null, axisTicks: String? = null, axisTicksX: String? = null, axisTicksY: String? = null, axisLine: String? = null, axisLineX: String? = null, axisLineY: String? = null, legendPosition: String? = null, otherOptions: Options = Options.empty()): OtherPlotFeature

Use theme() to modify individual components of a theme, allowing you to control the appearance of all non-data components of the plot.

Parameters

axisTitle - result of element_text() or (element_blank() | "blank") to draw nothing and assign no space. label of axes

axisTitleX - result of element_text() or (element_blank() | "blank") to draw nothing and assign no space. x axis label

axisTitleY - result of element_text() or (element_blank() | "blank") to draw nothing and assign no space. y axis label

axisText - result of element_text() or (element_blank() | "blank") to draw nothing and assign no space. tick labels along axes

axisTextX - result of element_text() or (element_blank() | "blank") to draw nothing and assign no space. x axis tick labels

axisTextY - result of element_text() or (element_blank() | "blank") to draw nothing and assign no space. y axis tick labels

axisTicks - result of element_line() or (element_blank() | "blank") to draw nothing and assign no space. tick marks along axes

axisTicksX - result of element_line() or (element_blank() | "blank") to draw nothing and assign no space. x axis tick marks

axisTicksY - result of element_line() or (element_blank() | "blank") to draw nothing and assign no space. y axis tick marks

axisLine - result of element_line() or (element_blank() | "blank") to draw nothing and assign no space. lines along axes

axisLineX - result of element_line() or (element_blank() | "blank") to draw nothing and assign no space. line along x axis

axisLineY - result of element_line() or (element_blank() | "blank") to draw nothing and assign no space. line along y axis

legendPosition - ("none" | "left" | "right" | "bottom" | "top") or two-element numeric vector. the position of legends