class geom_path : PathAesthetics, LayerBase
Connects observations in the order, how they appear in the data.
data
- dictionary or pandas DataFrame, optional.
The data to be displayed in this layer. If None, the default, the data
is inherited from the plot data as specified in the call to lets_plot.
stat
- string, optional.
The statistical transformation to use on the data for this layer, as a string. Supported transformations:
"identity" (leaves the data unchanged), "count" (counts number of points with same x-axis coordinate),
"bin" (counts number of points with x-axis coordinate in the same bin), "smooth" (performs smoothing -
linear default)
position
- string, optional.
Position adjustment, either as a string ("identity", "stack", "dodge", ...), or the result of a call to a
position adjustment function.
alpha
- transparency level of a point
Understands numbers between 0 and 1.
color
- (colour) color of a geometry.
Can be continuous or discrete. For continuous value this will be a color gradient between two colors.
linetype
- type of the line.
Codes and names: 0 = "blank", 1 = "solid", 2 = "dashed", 3 = "dotted", 4 = "dotdash",
5 = "longdash", 6 = "twodash".
speed
- animation speed.
The number of pixels covered by animation object per second. Default value is 10.
flow
- animation flow.
The number of animation objects passing a reference point per second. Default value is 0.1.
mapping
- set of aesthetic mappings.
Aesthetic mappings describe the way that variables in the data are
mapped to plot "aesthetics".
<init> |
Connects observations in the order, how they appear in the data. geom_path(data: Map<*, *>? = null, stat: StatOptions = Stat.identity, position: PosOptions = identity, showLegend: Boolean = true, sampling: SamplingOptions? = null, x: Double? = null, y: Double? = null, alpha: Double? = null, color: Any? = null, linetype: Any? = null, size: Double? = null, speed: Double? = null, flow: Double? = null, mapping: PathMapping.() -> Unit = {}) |
alpha |
transparency level of a point Understands numbers between 0 and 1. val alpha: Double? |
color |
(colour) color of a geometry. Can be continuous or discrete. For continuous value this will be a color gradient between two colors. val color: Any? |
flow |
animation flow. The number of animation objects passing a reference point per second. Default value is 0.1. val flow: Double? |
linetype |
type of the line. Codes and names: 0 = "blank", 1 = "solid", 2 = "dashed", 3 = "dotted", 4 = "dotdash", 5 = "longdash", 6 = "twodash". val linetype: Any? |
size |
line width. val size: Double? |
speed |
animation speed. The number of pixels covered by animation object per second. Default value is 10. val speed: Double? |
x |
x-axis value. val x: Double? |
y |
y-axis value. val y: Double? |
toSpec |
fun Layer.toSpec(): MutableMap<String, Any> |