plot-api / jetbrains.letsPlot

Package jetbrains.letsPlot

Types

Figure

interface Figure

FrontendContext

interface FrontendContext

Geom

Geom options to pass as a value of geom parameter of layer functions like: lets_plot() + stat_density(..., geom = Pos.point(), ... )

object Geom

GGBunch

class GGBunch : Figure

LetsPlot

object LetsPlot

Pos

object Pos

Stat

object Stat

Properties

ENV_HTML_ISOLATED_FRAME

const val ENV_HTML_ISOLATED_FRAME: String

Functions

element_blank

Element to draw nothing and assigns no space

fun element_blank(): String

ggplot

fun ggplot(data: Map<*, *>? = null, mapping: GenericAesMapping.() -> Unit = {}): Plot

ggsize

Specifies overall size of plot.

fun ggsize(width: Int, height: Int): OtherPlotFeature

lets_plot

fun lets_plot(data: Map<*, *>? = null, mapping: GenericAesMapping.() -> Unit = {}): Plot

position_dodge

fun position_dodge(width: Number? = null): PosOptions

position_jitter

fun position_jitter(width: Number? = null, height: Number? = null): PosOptions

position_jitterdodge

fun position_jitterdodge(dodgeWidth: Number? = null, jitterWidth: Number? = null, jitterHeight: Number? = null): PosOptions

position_nudge

fun position_nudge(x: Number? = null, y: Number? = null): PosOptions

theme

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

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