plot-api / jetbrains.letsPlot.intern.layer / LayerBase

LayerBase

abstract class LayerBase : Layer, OptionsCapsule

Constructors

<init>

LayerBase(mapping: Options, data: Map<*, *>? = null, geom: GeomOptions, stat: StatOptions, position: PosOptions, showLegend: Boolean, sampling: SamplingOptions? = null)

Properties

parameters

open val parameters: Options

Extension Functions

toSpec

fun Layer.toSpec(): MutableMap<String, Any>

Inheritors

geom_abline

Add straight lines to a plot specified by slope and intercept.

class geom_abline : ABLineAesthetics, LayerBase

geom_area

Display an area.

class geom_area : AreaAesthetics, LayerBase

geom_bar

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

class geom_bar : BarAesthetics, LayerBase

geom_boxplot

Add box plot.

class geom_boxplot : BoxplotAesthetics, BoxplotParameters, LayerBase

geom_crossbar

Bar with horizontal median line

class geom_crossbar : CrossBarAesthetics, LayerBase

geom_density

Display density function.

class geom_density : DensityAesthetics, LayerBase

geom_errorbar

Error bars.

class geom_errorbar : ErrorBarAesthetics, LayerBase

geom_freqpoly

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

class geom_freqpoly : LineAesthetics, BinParameters, LayerBase

geom_histogram

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

class geom_histogram : HistogramAesthetics, BinAesthetics, BinParameters, LayerBase

geom_hline

Add straight horizontal lines to a plot

class geom_hline : HLineAesthetics, LayerBase

geom_image

class geom_image : ImageAesthetics, LayerBase

geom_line

Connect points in order of the variable on the x-axis

class geom_line : LineAesthetics, LayerBase

geom_linerange

Line range, defined by an upper and lower value.

class geom_linerange : LineRangeAesthetics, LayerBase

geom_path

Connects observations in the order, how they appear in the data.

class geom_path : PathAesthetics, LayerBase

geom_point

Points, as for a scatter plot.

class geom_point : PointAesthetics, LayerBase

geom_pointrange

Vertical line defined by upper and lower value with mid-point at Y-location.

class geom_pointrange : PointRangeAesthetics, LayerBase

geom_polygon

Display a polygon (filled path). geom_polygon draws polygons, which are filled paths. Each vertex of the polygon requires a separate row in the data.

class geom_polygon : PolygonAesthetics, LayerBase

geom_raster

Rectangles with x, y values mapped to center. Much faster than geom_tile but doesn't support width/height and color.

class geom_raster : RasterAesthetics, LayerBase

geom_rect

Draws rectangles

class geom_rect : RectAesthetics, LayerBase

geom_ribbon

Display a ribbon.

class geom_ribbon : RibbonAesthetics, LayerBase

geom_segment

Draws segments

class geom_segment : SegmentAesthetics, LayerBase

geom_step

Connects observations in the order, how they appear in the data.

class geom_step : LineAesthetics, LayerBase

geom_text

Adds text directly to the plot

class geom_text : TextAesthetics, LayerBase

geom_tile

Rectangles with x, y values mapped to center

class geom_tile : TileAesthetics, LayerBase

geom_vline

Add straight horizontal lines to a plot

class geom_vline : VLineAesthetics, LayerBase

stat_boxplot

class stat_boxplot : BoxplotAesthetics, BoxplotStatParameters, LayerBase

stat_count

class stat_count : CountAesthetics, BarAesthetics, CountParameters, LayerBase

stat_density

class stat_density : DensityAesthetics, DensityParameters, LayerBase