Package-level declarations

Examples

Types

Link copied to clipboard
object Extensions
Link copied to clipboard
class geomABLine(val data: Map<*, *>? = null, val stat: StatOptions = Stat.identity, val position: PosOptions = positionIdentity, val showLegend: Boolean = true, val sampling: SamplingOptions? = null, val orientation: String? = null, val slope: Number? = null, val intercept: Number? = null, val alpha: Number? = null, val color: Any? = null, val linetype: Any? = null, val size: Number? = null, val colorBy: String? = null, mapping: ABLineMapping.() -> Unit = {}) : Layer, ABLineAesthetics, WithColorOption

Adds a line with specified slope and intercept to the plot.

Link copied to clipboard
class geomArea(val data: Map<*, *>? = null, val stat: StatOptions = identity, val position: PosOptions = positionStack(), val showLegend: Boolean = true, val sampling: SamplingOptions? = null, val tooltips: TooltipOptions? = null, flat: Boolean? = null, val x: Number? = null, val y: Number? = null, val alpha: Number? = null, val color: Any? = null, val fill: Any? = null, val linetype: Any? = null, val size: Number? = null, val colorBy: String? = null, val fillBy: String? = null, mapping: AreaMapping.() -> Unit = {}) : Layer, AreaAesthetics, WithColorOption, WithFillOption

Displays the development of quantitative values over an interval. This is the continuous analog of geomBar().

Link copied to clipboard
class geomAreaRidges(val data: Map<*, *>? = null, val stat: StatOptions = Stat.densityRidges(), val position: PosOptions = positionIdentity, val showLegend: Boolean = true, val sampling: SamplingOptions? = null, val tooltips: TooltipOptions? = null, val x: Number? = null, val y: Number? = null, val height: Number? = null, val quantile: Number? = null, val alpha: Number? = null, val color: Any? = null, val fill: Any? = null, val linetype: Any? = null, val size: Number? = null, val weight: Number? = null, val scale: Number? = null, val minHeight: Number? = null, val quantileLines: Boolean? = null, val tailsCutoff: Number? = null, val quantiles: List<Number>? = null, val bw: Any? = null, val kernel: String? = null, val n: Int? = null, val trim: Boolean? = null, val adjust: Number? = null, val fullScanMax: Int? = null, val colorBy: String? = null, val fillBy: String? = null, mapping: AreaRidgesMapping.() -> Unit = {}) : Layer, AreaRidgesAesthetics, AreaRidgesParameters, DensityRidgesStatAesthetics, DensityRidgesStatParameters, WithColorOption, WithFillOption

Plots the sum of the y and height aesthetics versus x. Heights of the ridges are relatively scaled.

Link copied to clipboard
class geomBar(val data: Map<*, *>? = null, val stat: StatOptions = Stat.count(), val position: PosOptions = positionStack(), val showLegend: Boolean = true, val sampling: SamplingOptions? = null, val tooltips: TooltipOptions? = null, val labels: AnnotationOptions? = null, val orientation: String? = null, val x: Number? = null, val y: Number? = null, val alpha: Number? = null, val color: Any? = null, val fill: Any? = null, val width: Number? = null, val size: Number? = null, val weight: Number? = null, val colorBy: String? = null, val fillBy: String? = null, mapping: BarMapping.() -> Unit = {}) : Layer, BarAesthetics, CountStatAesthetics, WithColorOption, WithFillOption

Displays a bar chart which makes the height of the bar proportional to the number of observed variable values, mapped to x-axis.

Link copied to clipboard
class geomBin2D(val data: Map<*, *>? = null, val stat: StatOptions = Stat.bin2D(), val position: PosOptions = positionIdentity, val showLegend: Boolean = true, val sampling: SamplingOptions? = null, val tooltips: TooltipOptions? = null, val x: Number? = null, val y: Number? = null, val width: Number? = null, val height: Number? = null, val alpha: Number? = null, val color: Any? = null, val fill: Any? = null, val linetype: Any? = null, val size: Number? = null, val weight: Any? = null, val bins: <Error class: unknown class><Int, Int>? = null, val binWidth: <Error class: unknown class><Number?, Number?>? = null, val drop: Boolean? = null, val colorBy: String? = null, val fillBy: String? = null, mapping: Bin2dMapping.() -> Unit = {}) : Layer, TileAesthetics, Bin2dStatAesthetics, Bin2dStatParameters, WithColorOption, WithFillOption

Divides the plane into a grid and color the bins by the count of cases in them.

Link copied to clipboard
class geomContour(val data: Map<*, *>? = null, val stat: StatOptions = Stat.contour(), val position: PosOptions = positionIdentity, val showLegend: Boolean = true, val sampling: SamplingOptions? = null, val tooltips: TooltipOptions? = null, val x: Number? = null, val y: Number? = null, val z: Number? = null, val alpha: Number? = null, val color: Any? = null, val linetype: Any? = null, val size: Number? = null, val bins: Int? = null, val binWidth: Number? = null, val colorBy: String? = null, mapping: ContourMapping.() -> Unit = {}) : Layer, PathAesthetics, ContourStatAesthetics, ContourStatParameters, WithColorOption

Displays contours of a 3d surface in 2d.

Link copied to clipboard
class geomContourFilled(val data: Map<*, *>? = null, val stat: StatOptions = Stat.contourFilled(), val position: PosOptions = positionIdentity, val showLegend: Boolean = true, val sampling: SamplingOptions? = null, val tooltips: TooltipOptions? = null, val x: Number? = null, val y: Number? = null, val z: Number? = null, val size: Number? = null, val linetype: Any? = null, val color: Any? = null, val fill: Any? = null, val alpha: Number? = null, val bins: Int? = null, val binWidth: Number? = null, val colorBy: String? = null, val fillBy: String? = null, mapping: ContourfMapping.() -> Unit = {}) : Layer, PolygonAesthetics, ContourStatAesthetics, ContourStatParameters, WithColorOption, WithFillOption

Fills contours of a 3d surface in 2d.

Link copied to clipboard
class geomCount(val data: Map<*, *>? = null, val stat: StatOptions = Stat.sum(), val position: PosOptions = positionIdentity, val showLegend: Boolean = true, val sampling: SamplingOptions? = null, val tooltips: TooltipOptions? = null, val x: Any? = null, val y: Any? = null, val alpha: Any? = null, val color: Any? = null, val fill: Any? = null, val shape: Any? = null, val size: Any? = null, val stroke: Any? = null, val colorBy: String? = null, val fillBy: String? = null, mapping: PointMapping.() -> Unit = {}) : Layer, PointAesthetics, WithColorOption, WithFillOption

Sum unique values

Link copied to clipboard
class geomCrossbar(val data: Map<*, *>? = null, val stat: StatOptions = Stat.identity, val position: PosOptions = positionDodge(), val showLegend: Boolean = true, val sampling: SamplingOptions? = null, val tooltips: TooltipOptions? = null, val fatten: Number? = null, val x: Number? = null, val ymin: Number? = null, val ymax: Number? = null, val y: Number? = null, val xmin: Number? = null, val xmax: Number? = null, val width: Number? = null, val alpha: Number? = null, val color: Any? = null, val fill: Any? = null, val linetype: Any? = null, val size: Number? = null, val colorBy: String? = null, val fillBy: String? = null, mapping: CrossBarMapping.() -> Unit = {}) : Layer, CrossBarAesthetics, WithColorOption, WithFillOption

Displays bars with horizontal median line. Represents a vertical interval, defined by x, ymin, ymax, or a horizontal interval, defined by y, xmin, xmax. The mean is represented by horizontal (vertical) line.

Link copied to clipboard
class geomCurve(val data: Map<*, *>? = null, val stat: StatOptions = Stat.identity, val position: PosOptions = positionIdentity, val showLegend: Boolean = true, val sampling: SamplingOptions? = null, val tooltips: TooltipOptions? = null, val x: Number? = null, val y: Number? = null, val xend: Number? = null, val yend: Number? = null, val alpha: Number? = null, val color: Any? = null, val linetype: Any? = null, val size: Number? = null, val sizeStart: Number? = null, val sizeEnd: Number? = null, val strokeStart: Number? = null, val strokeEnd: Number? = null, val curvature: Number? = null, val angle: Number? = null, val ncp: Int? = null, val spacer: Number? = null, val arrow: Map<String, Any>? = null, val colorBy: String? = null, mapping: CurveMapping.() -> Unit = {}) : Layer, CurveAesthetics, CurveParameters, WithColorOption

Draws a curved line.

Link copied to clipboard
class geomDensity(val data: Map<*, *>? = null, val stat: StatOptions = Stat.density(), val position: PosOptions = positionIdentity, val showLegend: Boolean = true, val sampling: SamplingOptions? = null, val tooltips: TooltipOptions? = null, val orientation: String? = null, val x: Number? = null, val y: Number? = null, val alpha: Number? = null, val color: Any? = null, val fill: Any? = null, val linetype: Any? = null, val size: Number? = null, val weight: Any? = null, val bw: Any? = null, val kernel: String? = null, val n: Int? = null, val trim: Boolean? = null, val adjust: Number? = null, val fullScanMax: Int? = null, val quantiles: List<Number>? = null, quantileLines: Boolean? = null, val colorBy: String? = null, val fillBy: String? = null, mapping: DensityMapping.() -> Unit = {}) : Layer, AreaAesthetics, DensityStatAesthetics, DensityStatParameters, WithColorOption, WithFillOption

Displays a density estimate, which is a smoothed version of the histogram.

Link copied to clipboard
class geomDensity2D(val data: Map<*, *>? = null, val stat: StatOptions = Stat.density2D(), val position: PosOptions = positionIdentity, val showLegend: Boolean = true, val sampling: SamplingOptions? = null, val tooltips: TooltipOptions? = null, val x: Number? = null, val y: Number? = null, val z: Number? = null, val alpha: Number? = null, val color: Any? = null, val linetype: Any? = null, val size: Number? = null, val weight: Number? = null, val bw: Any? = null, val kernel: String? = null, val n: Int? = null, val adjust: Number? = null, val contour: Boolean? = null, val bins: Int? = null, val binWidth: Number? = null, val colorBy: String? = null, mapping: Density2dMapping.() -> Unit = {}) : Layer, PathAesthetics, ContourStatAesthetics, Density2dStatAesthetics, Density2dStatParameters, WithColorOption

Displays density function contour.

Link copied to clipboard
class geomDensity2DFilled(val data: Map<*, *>? = null, val stat: StatOptions = Stat.density2DFilled(), val position: PosOptions = positionIdentity, val showLegend: Boolean = true, val sampling: SamplingOptions? = null, val tooltips: TooltipOptions? = null, val x: Number? = null, val y: Number? = null, val size: Number? = null, val linetype: Any? = null, val color: Any? = null, val fill: Any? = null, val alpha: Number? = null, val weight: Number? = null, val bw: Any? = null, val kernel: String? = null, val n: Int? = null, val adjust: Number? = null, val contour: Boolean? = null, val bins: Int? = null, val binWidth: Number? = null, val colorBy: String? = null, val fillBy: String? = null, mapping: Density2dfMapping.() -> Unit = {}) : Layer, PolygonAesthetics, Density2dStatAesthetics, Density2dStatParameters, WithColorOption, WithFillOption

Draws filled contour bands.

Link copied to clipboard
class geomDotplot(val data: Map<*, *>? = null, val showLegend: Boolean = true, val sampling: SamplingOptions? = null, val tooltips: TooltipOptions? = null, val x: Number? = null, val bins: Int? = null, val center: Number? = null, val boundary: Number? = null, val method: String? = null, var binWidth: Number? = null, var stackSize: Number? = null, val stackDir: String? = null, val stackRatio: Number? = null, val dotSize: Number? = null, val stackGroups: Boolean? = null, val stroke: Number? = null, val alpha: Number? = null, val color: Any? = null, val fill: Any? = null, val colorBy: String? = null, val fillBy: String? = null, mapping: DotplotMapping.() -> Unit = {}) : Layer, DotplotAesthetics, DotplotParameters, DotplotStatAesthetics, DotplotStatParameters, WithColorOption, WithFillOption

Dotplot represents individual observations in a batch of data with circular dots. The diameter of a dot corresponds to the maximum width or bin width, depending on the binning algorithm.

Link copied to clipboard
class geomErrorBar(val data: Map<*, *>? = null, val stat: StatOptions = Stat.identity, val position: PosOptions = positionIdentity, val showLegend: Boolean = true, val sampling: SamplingOptions? = null, val tooltips: TooltipOptions? = null, val x: Number? = null, val ymin: Number? = null, val ymax: Number? = null, val width: Number? = null, val y: Number? = null, val xmin: Number? = null, val xmax: Number? = null, val height: Number? = null, val alpha: Number? = null, val color: Any? = null, val linetype: Any? = null, val size: Number? = null, val colorBy: String? = null, mapping: ErrorBarMapping.() -> Unit = {}) : Layer, ErrorBarAesthetics, WithColorOption

Displays error bars defined by the upper and lower values. Represents a vertical interval, defined by x, ymin, ymax, or a horizontal interval, defined by y, xmin, xmax.

Link copied to clipboard
class geomFreqpoly(val data: Map<*, *>? = null, val stat: StatOptions = Stat.bin(), val position: PosOptions = positionIdentity, val showLegend: Boolean = true, val sampling: SamplingOptions? = null, val tooltips: TooltipOptions? = null, val orientation: String? = null, val x: Number? = null, val y: Number? = null, val alpha: Number? = null, val color: Any? = null, val linetype: Any? = null, val size: Number? = null, val bins: Int? = null, val binWidth: Number? = null, val center: Number? = null, val boundary: Number? = null, val colorBy: String? = null, mapping: LineMapping.() -> Unit = {}) : Layer, LineAesthetics, BinStatParameters, WithColorOption

Displays a line chart which makes the y value proportional to the number of observed variable values, mapped to x axis.

Link copied to clipboard
class geomFunction(val data: Map<*, *>? = null, val stat: StatOptions = Stat.identity, val geom: GeomOptions = Geom.line(), val position: PosOptions = positionIdentity, val showLegend: Boolean = true, val tooltips: TooltipOptions? = null, fn: (Double) -> Double? = null, xlim: <Error class: unknown class><Number, Number>? = null, n: Int? = null, val x: Number? = null, val y: Number? = null, val alpha: Number? = null, val color: Any? = null, val linetype: Any? = null, val size: Number? = null, val colorBy: String? = null, mapping: LineMapping.() -> Unit = {}) : Layer, LineAesthetics, WithColorOption

Computes and draws a function.

Link copied to clipboard
class geomHistogram(val data: Map<*, *>? = null, val stat: StatOptions = Stat.bin(), val position: PosOptions = positionStack(), val showLegend: Boolean = true, val sampling: SamplingOptions? = null, val tooltips: TooltipOptions? = null, val labels: AnnotationOptions? = null, val orientation: String? = null, val x: Number? = null, val y: Number? = null, val alpha: Number? = null, val color: Any? = null, val fill: Any? = null, val size: Number? = null, val weight: Any? = null, val bins: Int? = null, val binWidth: Number? = null, val center: Number? = null, val boundary: Number? = null, val colorBy: String? = null, val fillBy: String? = null, mapping: HistogramMapping.() -> Unit = {}) : Layer, HistogramAesthetics, BinStatAesthetics, BinStatParameters, WithColorOption, WithFillOption

Displays a 1d distribution by dividing variable mapped to x axis into bins and counting the number of observations in each bin.

Link copied to clipboard
class geomHLine(val data: Map<*, *>? = null, val stat: StatOptions = Stat.identity, val position: PosOptions = positionIdentity, val showLegend: Boolean = true, val sampling: SamplingOptions? = null, val tooltips: TooltipOptions? = null, val orientation: String? = null, val yintercept: Number? = null, val alpha: Number? = null, val color: Any? = null, val linetype: Any? = null, val size: Number? = null, val colorBy: String? = null, mapping: HLineMapping.() -> Unit = {}) : Layer, HLineAesthetics, WithColorOption

Adds a straight horizontal line to the plot.

Link copied to clipboard
class geomJitter(val data: Map<*, *>? = null, val stat: StatOptions = Stat.identity, val position: PosOptions = positionJitter(), val showLegend: Boolean = true, val sampling: SamplingOptions? = null, val tooltips: TooltipOptions? = null, seed: Int? = null, val x: Number? = null, val y: Number? = null, val alpha: Number? = null, val color: Any? = null, val fill: Any? = null, val shape: Any? = null, val size: Number? = null, val stroke: Number? = null, val width: Number? = null, val height: Number? = null, val colorBy: String? = null, val fillBy: String? = null, mapping: PointMapping.() -> Unit = {}) : Layer, PointAesthetics, JitterParameters, WithColorOption, WithFillOption

Displays jittered points, especially for discrete plots or dense plots.

Link copied to clipboard
class geomLabel(val data: Map<*, *>? = null, val stat: StatOptions = Stat.identity, val position: PosOptions = positionIdentity, val showLegend: Boolean = true, val sampling: SamplingOptions? = null, val tooltips: TooltipOptions? = null, val map: SpatialDataset? = null, val mapJoin: <Error class: unknown class><Any, Any>? = null, val useCRS: String? = null, val x: Number? = null, val y: Number? = null, val label: String? = null, val alpha: Number? = null, val color: Any? = null, val fill: Any? = null, val size: Number? = null, val family: String? = null, val fontface: String? = null, val hjust: Any? = null, val vjust: Any? = null, val angle: Number? = null, val lineheight: Number? = null, val labelFormat: String? = null, val naText: String? = null, val nudgeX: Number? = null, val nudgeY: Number? = null, val labelPadding: Number? = null, val labelR: Number? = null, val labelSize: Number? = null, val alphaStroke: Boolean? = null, val sizeUnit: String? = null, val colorBy: String? = null, val fillBy: String? = null, mapping: LabelMapping.() -> Unit = {}) : Layer, LabelAesthetics, LabelParameters, WithSizeUnitOption, WithSpatialParameters, WithColorOption, WithFillOption

Adds a text directly to the plot with a rectangle behind the text.

Link copied to clipboard
class geomLine(val data: Map<*, *>? = null, val stat: StatOptions = Stat.identity, val position: PosOptions = positionIdentity, val showLegend: Boolean = true, val sampling: SamplingOptions? = null, val tooltips: TooltipOptions? = null, val x: Number? = null, val y: Number? = null, val alpha: Number? = null, val color: Any? = null, val linetype: Any? = null, val size: Number? = null, val colorBy: String? = null, mapping: LineMapping.() -> Unit = {}) : Layer, LineAesthetics, WithColorOption

Connects points in the order of the variable on the x-axis. In the case points need to be connected in the order in which they appear in the data, use 'geomPath'.

Link copied to clipboard
class geomLineRange(val data: Map<*, *>? = null, val stat: StatOptions = Stat.identity, val position: PosOptions = positionIdentity, val showLegend: Boolean = true, val sampling: SamplingOptions? = null, val tooltips: TooltipOptions? = null, val x: Number? = null, val ymin: Number? = null, val ymax: Number? = null, val y: Number? = null, val xmin: Number? = null, val xmax: Number? = null, val alpha: Number? = null, val color: Any? = null, val linetype: Any? = null, val size: Number? = null, val colorBy: String? = null, mapping: LineRangeMapping.() -> Unit = {}) : Layer, LineRangeAesthetics, WithColorOption

Displays a line range defined by an upper and lower value. Represents a vertical interval, defined by x, ymin, ymax, or a horizontal interval, defined by y, xmin, xmax.

Link copied to clipboard
class geomLollipop(val data: Map<*, *>? = null, val stat: StatOptions = Stat.identity, val position: PosOptions = positionIdentity, val showLegend: Boolean = true, val sampling: SamplingOptions? = null, val tooltips: TooltipOptions? = null, val orientation: String? = null, val x: Number? = null, val y: Number? = null, val size: Number? = null, val stroke: Number? = null, val linewidth: Number? = null, val color: Any? = null, val fill: Any? = null, val alpha: Number? = null, val shape: Any? = null, val linetype: Any? = null, val fatten: Number? = null, val slope: Number? = null, val intercept: Number? = null, val dir: String? = null, val colorBy: String? = null, val fillBy: String? = null, mapping: LollipopMapping.() -> Unit = {}) : Layer, LollipopAesthetics, LollipopParameters, WithColorOption, WithFillOption

Draws lollipop chart.

Link copied to clipboard
class geomMap(val data: Map<*, *>? = null, val stat: StatOptions = Stat.identity, val position: PosOptions = positionIdentity, val showLegend: Boolean = true, val sampling: SamplingOptions? = null, val tooltips: TooltipOptions? = null, val map: SpatialDataset? = null, val mapJoin: <Error class: unknown class><Any, Any>? = null, val useCRS: String? = null, val x: Number? = null, val y: Number? = null, val size: Number? = null, val linetype: Any? = null, val color: Any? = null, val fill: Any? = null, val alpha: Number? = null, val colorBy: String? = null, val fillBy: String? = null, mapping: PolygonMapping.() -> Unit = {}) : Layer, PolygonAesthetics, WithSpatialParameters, WithColorOption, WithFillOption

Displays a filled closed path defined by the vertex coordinates of individual polygons. geomMap is essentially the same as geomPolygon but uses 'coordMap' as default coordinate system.

Link copied to clipboard
class geomPath(val data: Map<*, *>? = null, val stat: StatOptions = Stat.identity, val position: PosOptions = positionIdentity, val showLegend: Boolean = true, val sampling: SamplingOptions? = null, val tooltips: TooltipOptions? = null, val map: SpatialDataset? = null, val mapJoin: <Error class: unknown class><Any, Any>? = null, val useCRS: String? = null, flat: Boolean? = null, val x: Number? = null, val y: Number? = null, val alpha: Number? = null, val color: Any? = null, val linetype: Any? = null, val size: Number? = null, val colorBy: String? = null, mapping: PathMapping.() -> Unit = {}) : Layer, PathAesthetics, WithSpatialParameters, WithColorOption

Connects observations in the order in which they appear in the data.

Link copied to clipboard
class geomPie(val data: Map<*, *>? = null, val stat: StatOptions = Stat.count2d(), val position: PosOptions = positionIdentity, val showLegend: Boolean = true, val sampling: SamplingOptions? = null, val tooltips: TooltipOptions? = null, val labels: AnnotationOptions? = null, val map: SpatialDataset? = null, val mapJoin: <Error class: unknown class><Any, Any>? = null, val useCRS: String? = null, val x: Number? = null, val y: Number? = null, val slice: Number? = null, val explode: Number? = null, val size: Number? = null, val fill: Any? = null, val alpha: Number? = null, val color: Any? = null, val stroke: Number? = null, val weight: Number? = null, val hole: Number? = null, val strokeSide: String? = null, val spacerWidth: Number? = null, val spacerColor: Any? = null, val sizeUnit: String? = null, val fillBy: String? = null, val colorBy: String? = null, mapping: PieMapping.() -> Unit = {}) : Layer, PieAesthetics, PieParameters, Count2dStatAesthetics, WithSizeUnitOption, WithSpatialParameters, WithFillOption, WithColorOption

Draws pie chart.

Link copied to clipboard
class geomPoint(val data: Map<*, *>? = null, val stat: StatOptions = Stat.identity, val position: PosOptions = positionIdentity, val showLegend: Boolean = true, val sampling: SamplingOptions? = null, val tooltips: TooltipOptions? = null, val orientation: String? = null, val map: SpatialDataset? = null, val mapJoin: <Error class: unknown class><Any, Any>? = null, val useCRS: String? = null, val x: Number? = null, val y: Number? = null, val alpha: Number? = null, val color: Any? = null, val fill: Any? = null, val shape: Any? = null, val size: Number? = null, val stroke: Number? = null, val sizeUnit: String? = null, val colorBy: String? = null, val fillBy: String? = null, mapping: PointMapping.() -> Unit = {}) : Layer, PointAesthetics, WithSizeUnitOption, WithSpatialParameters, WithColorOption, WithFillOption

Draws points defined by an x and y coordinate.

Link copied to clipboard
class geomPointRange(val data: Map<*, *>? = null, val stat: StatOptions = Stat.identity, val position: PosOptions = positionIdentity, val showLegend: Boolean = true, val sampling: SamplingOptions? = null, val tooltips: TooltipOptions? = null, val fatten: Number? = null, val x: Number? = null, val y: Number? = null, val ymin: Number? = null, val ymax: Number? = null, val xmin: Number? = null, val xmax: Number? = null, val alpha: Number? = null, val color: Any? = null, val fill: Any? = null, val linetype: Any? = null, val shape: Any? = null, val size: Number? = null, val stroke: Number? = null, val linewidth: Number? = null, val colorBy: String? = null, val fillBy: String? = null, mapping: PointRangeMapping.() -> Unit = {}) : Layer, PointRangeAesthetics, WithColorOption, WithFillOption

Adds a vertical line defined by upper and lower value with midpoint at y location. Represents a vertical interval, defined by x, ymin, ymax, or a horizontal interval, defined by y, xmin, xmax. The mid-point is defined by y or x, respectively.

Link copied to clipboard
class geomPolygon(val data: Map<*, *>? = null, val stat: StatOptions = Stat.identity, val position: PosOptions = positionIdentity, val showLegend: Boolean = true, val sampling: SamplingOptions? = null, val tooltips: TooltipOptions? = null, val map: SpatialDataset? = null, val mapJoin: <Error class: unknown class><Any, Any>? = null, val useCRS: String? = null, val x: Number? = null, val y: Number? = null, val size: Number? = null, val linetype: Any? = null, val color: Any? = null, val fill: Any? = null, val alpha: Number? = null, val colorBy: String? = null, val fillBy: String? = null, mapping: PolygonMapping.() -> Unit = {}) : Layer, PolygonAesthetics, WithSpatialParameters, WithColorOption, WithFillOption

Displays a filled closed path defined by the vertex coordinates of individual polygons.

Link copied to clipboard
class geomQQ(val data: Map<*, *>? = null, val stat: StatOptions = Stat.qq(), val position: PosOptions = positionIdentity, val showLegend: Boolean = true, val sampling: SamplingOptions? = null, val tooltips: TooltipOptions? = null, val sample: Number? = null, val alpha: Number? = null, val color: Any? = null, val fill: Any? = null, val shape: Any? = null, val size: Number? = null, val stroke: Number? = null, val distribution: String? = null, val dParams: List<Number>? = null, val colorBy: String? = null, val fillBy: String? = null, mapping: QQMapping.() -> Unit = {}) : Layer, QQAesthetics, QQStatAesthetics, QQStatParameters, WithColorOption, WithFillOption

Displays quantile-quantile plot.

Link copied to clipboard
class geomQQ2(val data: Map<*, *>? = null, val stat: StatOptions = Stat.qq2(), val position: PosOptions = positionIdentity, val showLegend: Boolean = true, val sampling: SamplingOptions? = null, val tooltips: TooltipOptions? = null, val x: Number? = null, val y: Number? = null, val alpha: Number? = null, val color: Any? = null, val fill: Any? = null, val shape: Any? = null, val size: Number? = null, val stroke: Number? = null, val colorBy: String? = null, val fillBy: String? = null, mapping: PointMapping.() -> Unit = {}) : Layer, PointAesthetics, QQ2StatAesthetics, WithColorOption, WithFillOption

Displays quantile-quantile plot.

Link copied to clipboard
class geomQQ2Line(val data: Map<*, *>? = null, val stat: StatOptions = Stat.qq2Line(), val position: PosOptions = positionIdentity, val showLegend: Boolean = true, val sampling: SamplingOptions? = null, val tooltips: TooltipOptions? = null, val x: Number? = null, val y: Number? = null, val alpha: Number? = null, val color: Any? = null, val linetype: Any? = null, val size: Number? = null, val quantiles: <Error class: unknown class><Number, Number>? = null, val colorBy: String? = null, mapping: PathMapping.() -> Unit = {}) : Layer, PathAesthetics, QQ2StatAesthetics, QQ2LineStatParameters, WithColorOption

Displays quantile-quantile fitting line.

Link copied to clipboard
class geomQQLine(val data: Map<*, *>? = null, val stat: StatOptions = Stat.qqLine(), val position: PosOptions = positionIdentity, val showLegend: Boolean = true, val sampling: SamplingOptions? = null, val tooltips: TooltipOptions? = null, val sample: Number? = null, val alpha: Number? = null, val color: Any? = null, val linetype: Any? = null, val size: Number? = null, val distribution: String? = null, val dParams: List<Number>? = null, val quantiles: <Error class: unknown class><Number, Number>? = null, val colorBy: String? = null, mapping: QQLineMapping.() -> Unit = {}) : Layer, QQLineAesthetics, QQStatAesthetics, QQLineStatParameters, WithColorOption

Displays quantile-quantile fitting line.

Link copied to clipboard
class geomRaster(val data: Map<*, *>? = null, val stat: StatOptions = Stat.identity, val position: PosOptions = positionIdentity, val showLegend: Boolean = true, val sampling: SamplingOptions? = null, val x: Number? = null, val y: Number? = null, val alpha: Number? = null, val fill: Any? = null, val fillBy: String? = null, mapping: RasterMapping.() -> Unit = {}) : Layer, RasterAesthetics, WithFillOption

Displays rectangles defined by the center of the tile (x, y). This is a high performance special function for same-sized tiles. Much faster than geomTile() but doesn't support width/height and color.

Link copied to clipboard
class geomRect(val data: Map<*, *>? = null, val stat: StatOptions = Stat.identity, val position: PosOptions = positionIdentity, val showLegend: Boolean = true, val sampling: SamplingOptions? = null, val tooltips: TooltipOptions? = null, val map: SpatialDataset? = null, val mapJoin: <Error class: unknown class><Any, Any>? = null, val useCRS: String? = null, val xmin: Number? = null, val xmax: Number? = null, val ymin: Number? = null, val ymax: Number? = null, val alpha: Number? = null, val color: Any? = null, val linetype: Any? = null, val size: Number? = null, val fill: Any? = null, val colorBy: String? = null, val fillBy: String? = null, mapping: RectMapping.() -> Unit = {}) : Layer, RectAesthetics, WithSpatialParameters, WithColorOption, WithFillOption

Displays a rectangle defined by the four corners (xmin, xmax, ymin and ymax).

Link copied to clipboard
class geomRibbon(val data: Map<*, *>? = null, val stat: StatOptions = Stat.identity, val position: PosOptions = positionIdentity, val showLegend: Boolean = true, val sampling: SamplingOptions? = null, val tooltips: TooltipOptions? = null, val x: Number? = null, val ymin: Number? = null, val ymax: Number? = null, val y: Number? = null, val xmin: Number? = null, val xmax: Number? = null, val size: Number? = null, val linetype: Any? = null, val color: Any? = null, val fill: Any? = null, val alpha: Number? = null, val colorBy: String? = null, val fillBy: String? = null, mapping: RibbonMapping.() -> Unit = {}) : Layer, RibbonAesthetics, WithColorOption, WithFillOption

Displays a y interval defined by ymin and ymax. Draws a ribbon bounded by ymin and ymax, or a vertical ribbon, bounded by xmin, xmax.

Link copied to clipboard
class geomSegment(val data: Map<*, *>? = null, val stat: StatOptions = Stat.identity, val position: PosOptions = positionIdentity, val showLegend: Boolean = true, val sampling: SamplingOptions? = null, val tooltips: TooltipOptions? = null, arrow: Map<String, Any>? = null, spacer: Number? = null, flat: Boolean? = null, val x: Number? = null, val y: Number? = null, val xend: Number? = null, val yend: Number? = null, val alpha: Number? = null, val color: Any? = null, val linetype: Any? = null, val size: Number? = null, val sizeStart: Number? = null, val sizeEnd: Number? = null, val strokeStart: Number? = null, val strokeEnd: Number? = null, val colorBy: String? = null, mapping: SegmentMapping.() -> Unit = {}) : Layer, SegmentAesthetics, WithColorOption

Draws a straight line segment between points (x, y) and (xend, yend).

Link copied to clipboard
class geomSmooth(val data: Map<*, *>? = null, val stat: StatOptions = Stat.smooth(), val position: PosOptions = positionIdentity, val showLegend: Boolean = true, val sampling: SamplingOptions? = null, val tooltips: TooltipOptions? = null, val orientation: String? = null, val x: Number? = null, val y: Number? = null, val ymin: Number? = null, val ymax: Number? = null, val size: Number? = null, val linetype: Any? = null, val color: Any? = null, val fill: Any? = null, val alpha: Number? = null, val method: String? = null, val n: Int? = null, val level: Number? = null, val se: Boolean? = null, val span: Number? = null, val deg: Int? = null, val seed: Long? = null, val maxN: Int? = null, val colorBy: String? = null, val fillBy: String? = null, mapping: SmoothMapping.() -> Unit = {}) : Layer, SmoothAesthetics, SmoothStatParameters, WithColorOption, WithFillOption

Adds a smoothed conditional mean.

Link copied to clipboard
class geomSpoke(val data: Map<*, *>? = null, val stat: StatOptions = Stat.identity, val position: PosOptions = positionIdentity, val showLegend: Boolean = true, val sampling: SamplingOptions? = null, val tooltips: TooltipOptions? = null, arrow: Map<String, Any>? = null, pivot: String? = null, val x: Number? = null, val y: Number? = null, val angle: Number? = null, val radius: Number? = null, val alpha: Number? = null, val color: Any? = null, val linetype: Any? = null, val size: Number? = null, val colorBy: String? = null, mapping: SpokeMapping.() -> Unit = {}) : Layer, SpokeAesthetics, WithColorOption

Draws a straight line segment with given length and angle from the starting point.

Link copied to clipboard
class geomStep(val data: Map<*, *>? = null, val stat: StatOptions = Stat.identity, val position: PosOptions = positionIdentity, val showLegend: Boolean = true, val sampling: SamplingOptions? = null, val tooltips: TooltipOptions? = null, direction: String? = null, val x: Number? = null, val y: Number? = null, val alpha: Number? = null, val color: Any? = null, val linetype: Any? = null, val size: Number? = null, val colorBy: String? = null, mapping: LineMapping.() -> Unit = {}) : Layer, LineAesthetics, WithColorOption

Connects observations in the order in which they appear in the data by stairs.

Link copied to clipboard
class geomText(val data: Map<*, *>? = null, val stat: StatOptions = Stat.identity, val position: PosOptions = positionIdentity, val showLegend: Boolean = true, val sampling: SamplingOptions? = null, val tooltips: TooltipOptions? = null, val map: SpatialDataset? = null, val mapJoin: <Error class: unknown class><Any, Any>? = null, val useCRS: String? = null, val x: Number? = null, val y: Number? = null, val label: String? = null, val alpha: Number? = null, val color: Any? = null, val size: Number? = null, val family: String? = null, val fontface: String? = null, val hjust: Any? = null, val vjust: Any? = null, val angle: Number? = null, val lineheight: Number? = null, val labelFormat: String? = null, val naText: String? = null, val nudgeX: Number? = null, val nudgeY: Number? = null, val sizeUnit: String? = null, val colorBy: String? = null, mapping: TextMapping.() -> Unit = {}) : Layer, TextAesthetics, TextParameters, WithSizeUnitOption, WithSpatialParameters, WithColorOption

Adds a text directly to the plot.

Link copied to clipboard
class geomTile(val data: Map<*, *>? = null, val stat: StatOptions = identity, val position: PosOptions = positionIdentity, val showLegend: Boolean = true, val sampling: SamplingOptions? = null, val tooltips: TooltipOptions? = null, val x: Number? = null, val y: Number? = null, val width: Number? = null, val height: Number? = null, val alpha: Number? = null, val color: Any? = null, val fill: Any? = null, val linetype: Any? = null, val size: Number? = null, val colorBy: String? = null, val fillBy: String? = null, mapping: TileMapping.() -> Unit = {}) : Layer, TileAesthetics, WithColorOption, WithFillOption

Displays a rectangle defined by the center of the tile and its size (x, y, width, height).

Link copied to clipboard
class geomViolin(val data: Map<*, *>? = null, val stat: StatOptions = Stat.yDensity(), val position: PosOptions = positionDodge(), val showLegend: Boolean = true, val sampling: SamplingOptions? = null, val tooltips: TooltipOptions? = null, val orientation: String? = null, val x: Number? = null, val y: Number? = null, val violinWidth: Number? = null, val alpha: Number? = null, val color: Any? = null, val fill: Any? = null, val linetype: Any? = null, val size: Number? = null, val width: Number? = null, val weight: Number? = null, val scale: String? = null, val tailsCutoff: Number? = null, val bw: Any? = null, val kernel: String? = null, val n: Int? = null, val trim: Boolean? = null, val adjust: Number? = null, val fullScanMax: Int? = null, val quantiles: List<Number>? = null, val quantileLines: Boolean? = null, val showHalf: Number? = null, val colorBy: String? = null, val fillBy: String? = null, mapping: ViolinMapping.() -> Unit = {}) : Layer, ViolinAesthetics, ViolinParameters, YDensityStatAesthetics, YDensityStatParameters, WithColorOption, WithFillOption

A violin plot is a mirrored density plot with an additional grouping as for a boxplot.

Link copied to clipboard
class geomVLine(val data: Map<*, *>? = null, val stat: StatOptions = Stat.identity, val position: PosOptions = positionIdentity, val showLegend: Boolean = true, val sampling: SamplingOptions? = null, val tooltips: TooltipOptions? = null, val orientation: String? = null, val xintercept: Number? = null, val alpha: Number? = null, val color: Any? = null, val linetype: Any? = null, val size: Number? = null, val colorBy: String? = null, mapping: VLineMapping.() -> Unit = {}) : Layer, VLineAesthetics, WithColorOption

Adds a straight vertical line to the plot.

Link copied to clipboard
class geomYDotplot(val data: Map<*, *>? = null, val showLegend: Boolean = true, val sampling: SamplingOptions? = null, val tooltips: TooltipOptions? = null, val orientation: String? = null, val x: Number? = null, val y: Any? = null, val bins: Int? = null, val center: Number? = null, val boundary: Number? = null, val method: String? = null, var binWidth: Number? = null, var stackSize: Number? = null, val stackDir: String? = null, val stackRatio: Number? = null, val dotSize: Number? = null, val stackGroups: Boolean? = null, val stroke: Number? = null, val alpha: Number? = null, val color: Any? = null, val fill: Any? = null, val colorBy: String? = null, val fillBy: String? = null, mapping: YDotplotMapping.() -> Unit = {}) : Layer, YDotplotAesthetics, YDotplotParameters, YDotplotStatAesthetics, YDotplotStatParameters, WithColorOption, WithFillOption

Y-dotplot represents individual observations in a batch of data with circular dots. The diameter of a dot corresponds to the maximum width or bin width, depending on the binning algorithm. geomYDotplot() is an obvious blend of geomViolin() and geomDotplot().

Link copied to clipboard

Functions

Link copied to clipboard
fun geomBoxplot(data: Map<*, *>? = null, stat: StatOptions = Stat.boxplot(), position: PosOptions = positionDodge(), showLegend: Boolean = true, tooltips: TooltipOptions? = null, orientation: String? = null, x: Number? = null, y: Number? = null, lower: Number? = null, middle: Number? = null, upper: Number? = null, ymin: Number? = null, ymax: Number? = null, alpha: Number? = null, color: Any? = null, fill: Any? = null, size: Number? = null, stroke: Number? = null, linetype: Any? = null, shape: Any? = null, width: Any? = null, weight: Any? = null, outlierAlpha: Number? = null, outlierColor: Any? = null, outlierFill: Any? = null, outlierShape: Any? = null, outlierSize: Number? = null, outlierStroke: Number? = null, fatten: Number? = null, whiskerWidth: Number? = null, varWidth: Boolean? = null, coef: Number? = null, colorBy: String? = null, fillBy: String? = null, mapping: BoxplotMapping.() -> Unit = {}): FeatureList

Displays the distribution of data based on a five number summary ("minimum", first quartile (Q1), median, third quartile (Q3), and "maximum"), and "outlying" points individually.

Link copied to clipboard
fun geomImshow(rasterData: RasterData, norm: Boolean = true, vmin: Number? = null, vmax: Number? = null, extent: List<Number>? = null, showLegend: Boolean = true, colorBy: String = "paint_c"): Feature

Displays image specified by RasterData.