plot-api / jetbrains.letsPlot.stat / stat_density

stat_density

class stat_density : AreaAesthetics, DensityStatAesthetics, DensityStatParameters, LayerBase

Constructors

<init>

stat_density(data: Map<*, *>? = null, geom: GeomOptions = GeomOptions(GeomKind.DENSITY), position: PosOptions = stack, showLegend: Boolean = true, sampling: SamplingOptions? = null, x: Double? = null, y: Double? = null, alpha: Number? = null, color: Any? = null, fill: Any? = null, linetype: Any? = null, size: Number? = null, weight: Double? = null, bw: Any? = null, kernel: String? = null, n: Int? = null, trim: Boolean? = null, adjust: Number? = null, mapping: DensityMapping.() -> Unit = {})

Properties

adjust

val adjust: Number?

alpha

val alpha: Number?

bw

val bw: Any?

color

val color: Any?

fill

val fill: Any?

kernel

val kernel: String?

linetype

val linetype: Any?

n

val n: Int?

size

val size: Number?

trim

val trim: Boolean?

weight

val weight: Double?

x

val x: Double?

y

val y: Double?

Functions

seal

fun seal(): Options

Extension Functions

toSpec

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