Package-level declarations

Examples

Functions

Link copied to clipboard
fun expandLimits(x: Any? = null, y: Any? = null, size: Any? = null, color: Any? = null, fill: Any? = null, alpha: Any? = null, shape: Any? = null): Feature

Expands the plot limits to include additional data values.

Link copied to clipboard
fun guideColorbar(title: String? = null, barWidth: Number? = null, barHeight: Number? = null, nbin: Int? = null, alpha: Any? = null, color: Any? = null, fill: Any? = null, shape: Any? = null, size: Any? = null, width: Any? = null, height: Any? = null, linetype: Any? = null, stroke: Any? = null): Map<String, Any>

Continuous color bar guide. Color bar guide shows continuous color scales mapped onto values. Color bar is available with scaleFill and scaleColor.

Link copied to clipboard
fun guideLegend(title: String? = null, nrow: Int? = null, ncol: Int? = null, byRow: Boolean? = null, alpha: Any? = null, color: Any? = null, fill: Any? = null, shape: Any? = null, size: Any? = null, width: Any? = null, height: Any? = null, linetype: Any? = null, stroke: Any? = null): Map<String, Any>

Legend guide. Legend type guide shows key (i.e., geoms) mapped onto values.

Link copied to clipboard
fun guides(alpha: Any? = null, color: Any? = null, fill: Any? = null, shape: Any? = null, size: Any? = null, linetype: Any? = null, manual: Any? = null): OptionsMap

Function to set guides for scales. Sets the mapping between scale and guide. The guide can either be a string ("colorbar"/"legend" or "none" to hide the guide) or a call to a guide function (guideColorbar()/guideLegend()) specifying additional arguments.

Link copied to clipboard
fun guidesAlt(vararg guideOptions: <Error class: unknown class><String, Any>): OptionsMap

Function to set guides for scales.

Link copied to clipboard
fun layerKey(label: String, group: String? = null, index: Int? = null, alpha: Any? = null, color: Any? = null, fill: Any? = null, shape: Any? = null, size: Any? = null, width: Any? = null, height: Any? = null, linetype: Any? = null, stroke: Any? = null): Map<String, Any>

Function to configure a custom legend.

Link copied to clipboard
fun lims(x: Any, y: Any): Feature

Specifies data range for x-axis and y-axis. Set limits if you want values to be consistent across multiple plots. Setting limits will remove data outside of the limits.

Link copied to clipboard
fun scaleAlpha(range: <Error class: unknown class><Number, Number>? = null, name: String? = null, breaks: Any? = null, labels: Any? = null, lablim: Int? = null, limits: <Error class: unknown class><Number?, Number?>? = null, naValue: Number? = null, format: String? = null, guide: Any? = null, trans: String? = null): Scale

Scales for alpha aesthetic.

Link copied to clipboard
fun scaleAlphaIdentity(name: String? = null, breaks: Any? = null, labels: Any? = null, lablim: Int? = null, limits: List<Any>? = null, naValue: Number? = null, format: String? = null, guide: Any? = "none"): Scale

Use this scale when your data has already been scaled. I.e. it already represents aesthetic values that can handle directly. This will not produce a legend unless you also supply the breaks and labels.

Link copied to clipboard
fun scaleAlphaManual(values: Any, name: String? = null, breaks: Any? = null, labels: Any? = null, lablim: Int? = null, limits: List<Any>? = null, naValue: Number? = null, format: String? = null, guide: Any? = null): Scale

Creates your own discrete scale for alpha aesthetic.

Link copied to clipboard
fun scaleBrewer(aesthetic: Any, type: String? = null, palette: Any? = null, direction: Number? = null, name: String? = null, breaks: Any? = null, labels: Any? = null, lablim: Int? = null, limits: Any? = null, naValue: Any? = null, format: String? = null, guide: Any? = null, trans: String? = null): Scale

Sequential, diverging and qualitative color scales from colorbrewer.org for the specified aesthetics.

Link copied to clipboard
fun scaleColorBrewer(type: String? = null, palette: Any? = null, direction: Number? = null, name: String? = null, breaks: Any? = null, labels: Any? = null, lablim: Int? = null, limits: Any? = null, naValue: Any? = null, format: String? = null, guide: Any? = null, trans: String? = null): Scale

Sequential, diverging and qualitative color scales from colorbrewer.org for color aesthetic.

Link copied to clipboard
fun scaleColorContinuous(name: String? = null, breaks: Any? = null, labels: Any? = null, lablim: Int? = null, limits: <Error class: unknown class><Number?, Number?>? = null, naValue: Any? = null, format: String? = null, guide: Any? = null, trans: String? = null, scaleMapperKind: String? = null, otherOptions: Map<String, Any?>? = null): Scale

Default color scale for color aesthetic and continuous data.

Link copied to clipboard
fun scaleColorDiscrete(direction: Int? = null, name: String? = null, breaks: Any? = null, labels: Any? = null, lablim: Int? = null, limits: List<Any>? = null, naValue: Any? = null, format: String? = null, guide: Any? = null, scaleMapperKind: String? = null, otherOptions: Map<String, Any?>? = null): Scale

Qualitative color scale for color aesthetic. Defaults to the Brewer 'Set1' palette.

Link copied to clipboard
fun scaleColorGradient(low: String, high: String, name: String? = null, breaks: Any? = null, labels: Any? = null, lablim: Int? = null, limits: <Error class: unknown class><Number?, Number?>? = null, naValue: Any? = null, format: String? = null, guide: Any? = null, trans: String? = null): Scale

Defines smooth color gradient between two colors (low-high) for color aesthetic.

Link copied to clipboard
fun scaleColorGradient2(low: String, mid: String, high: String, midpoint: Double = 0.0, name: String? = null, breaks: Any? = null, labels: Any? = null, lablim: Int? = null, limits: <Error class: unknown class><Number?, Number?>? = null, naValue: Any? = null, format: String? = null, guide: Any? = null, trans: String? = null): Scale

Defines diverging color gradient (low-mid-high) for color aesthetic.

Link copied to clipboard
fun scaleColorGradientN(colors: List<String>, name: String? = null, breaks: Any? = null, labels: Any? = null, lablim: Int? = null, limits: <Error class: unknown class><Number?, Number?>? = null, naValue: Any? = null, format: String? = null, guide: Any? = null, trans: String? = null): Scale

Defines smooth color gradient between multiple colors for color aesthetic.

Link copied to clipboard
fun scaleColorGrey(start: Number? = null, end: Number? = null, name: String? = null, breaks: Any? = null, labels: Any? = null, lablim: Int? = null, limits: <Error class: unknown class><Number?, Number?>? = null, naValue: Any? = null, format: String? = null, guide: Any? = null, trans: String? = null): Scale

Sequential grey color scale for color aesthetic.

Link copied to clipboard
fun scaleColorHue(h: <Error class: unknown class><Int, Int>? = null, c: Int? = null, l: Int? = null, hstart: Int? = null, direction: Int? = null, name: String? = null, breaks: Any? = null, labels: Any? = null, lablim: Int? = null, limits: <Error class: unknown class><Number?, Number?>? = null, naValue: Any? = null, format: String? = null, guide: Any? = null, trans: String? = null): Scale

Qualitative color scale with evenly spaced hues for color aesthetic.

Link copied to clipboard
fun scaleColorIdentity(name: String? = null, breaks: Any? = null, labels: Any? = null, lablim: Int? = null, limits: List<Any>? = null, naValue: Any? = null, format: String? = null, guide: Any? = "none"): Scale

Use this scale when your data has already been scaled. I.e. it already represents aesthetic values that can handle directly. This will not produce a legend unless you also supply the breaks and labels.

Link copied to clipboard
fun scaleColorManual(values: Any, name: String? = null, breaks: Any? = null, labels: Any? = null, lablim: Int? = null, limits: List<Any>? = null, naValue: Any? = null, format: String? = null, guide: Any? = null): Scale

Creates your own discrete scale for color aesthetic.

Link copied to clipboard
fun scaleColorViridis(option: String? = null, alpha: Number? = null, begin: Number? = null, end: Number? = null, direction: Number? = null, name: String? = null, breaks: Any? = null, labels: Any? = null, lablim: Int? = null, limits: Any? = null, naValue: Any? = null, format: String? = null, guide: Any? = null, trans: String? = null): Scale

The viridis color maps are designed to be perceptually-uniform, both in regular form and also when converted to black-and-white.

Link copied to clipboard
fun scaleContinuous(aesthetic: Any, name: String? = null, breaks: Any? = null, labels: Any? = null, lablim: Int? = null, limits: <Error class: unknown class><Number?, Number?>? = null, naValue: Any? = null, format: String? = null, guide: Any? = null, trans: String? = null, scaleMapperKind: String? = null, otherOptions: Map<String, Any?>? = null): Scale

General purpose scale for continuous data. Use it to adjust most common properties of a default scale for given aesthetic.

Link copied to clipboard
fun scaleDiscrete(aesthetic: Any, direction: Int? = null, name: String? = null, breaks: Any? = null, labels: Any? = null, lablim: Int? = null, limits: List<Any>? = null, naValue: Any? = null, format: String? = null, guide: Any? = null, scaleMapperKind: String? = null, otherOptions: Map<String, Any?>? = null): Scale

General purpose scale for discrete data. Use it to adjust most common properties of a default scale for given aesthetic.

Link copied to clipboard
fun scaleFillBrewer(type: String? = null, palette: Any? = null, direction: Number? = null, name: String? = null, breaks: Any? = null, labels: Any? = null, lablim: Int? = null, limits: Any? = null, naValue: Any? = null, format: String? = null, guide: Any? = null, trans: String? = null): Scale

Sequential, diverging and qualitative color scales from colorbrewer.org for fill aesthetic.

Link copied to clipboard
fun scaleFillContinuous(name: String? = null, breaks: Any? = null, labels: Any? = null, lablim: Int? = null, limits: <Error class: unknown class><Number?, Number?>? = null, naValue: Any? = null, format: String? = null, guide: Any? = null, trans: String? = null, scaleMapperKind: String? = null, otherOptions: Map<String, Any?>? = null): Scale

Default color scale for fill aesthetic and continuous data.

Link copied to clipboard
fun scaleFillDiscrete(direction: Int? = null, name: String? = null, breaks: Any? = null, labels: Any? = null, lablim: Int? = null, limits: List<Any>? = null, naValue: Any? = null, format: String? = null, guide: Any? = null, scaleMapperKind: String? = null, otherOptions: Map<String, Any?>? = null): Scale

Qualitative color scale for fill aesthetic. Defaults to the Brewer 'Set1' palette.

Link copied to clipboard
fun scaleFillGradient(low: String, high: String, name: String? = null, breaks: Any? = null, labels: Any? = null, lablim: Int? = null, limits: <Error class: unknown class><Number?, Number?>? = null, naValue: Any? = null, format: String? = null, guide: Any? = null, trans: String? = null): Scale

Defines smooth color gradient between two colors (low-high) for fill aesthetic.

Link copied to clipboard
fun scaleFillGradient2(low: String, mid: String, high: String, midpoint: Double = 0.0, name: String? = null, breaks: Any? = null, labels: Any? = null, lablim: Int? = null, limits: <Error class: unknown class><Number?, Number?>? = null, naValue: Any? = null, format: String? = null, guide: Any? = null, trans: String? = null): Scale

Defines diverging color gradient (low-mid-high) for fill aesthetic.

Link copied to clipboard
fun scaleFillGradientN(colors: List<String>, name: String? = null, breaks: Any? = null, labels: Any? = null, lablim: Int? = null, limits: <Error class: unknown class><Number?, Number?>? = null, naValue: Any? = null, format: String? = null, guide: Any? = null, trans: String? = null): Scale

Defines smooth color gradient between multiple colors for fill aesthetic.

Link copied to clipboard
fun scaleFillGrey(start: Number? = null, end: Number? = null, name: String? = null, breaks: Any? = null, labels: Any? = null, lablim: Int? = null, limits: <Error class: unknown class><Number?, Number?>? = null, naValue: Any? = null, format: String? = null, guide: Any? = null, trans: String? = null): Scale

Sequential grey color scale for fill aesthetic.

Link copied to clipboard
fun scaleFillHue(h: <Error class: unknown class><Int, Int>? = null, c: Int? = null, l: Int? = null, hstart: Int? = null, direction: Int? = null, name: String? = null, breaks: Any? = null, labels: Any? = null, lablim: Int? = null, limits: <Error class: unknown class><Number?, Number?>? = null, naValue: Any? = null, format: String? = null, guide: Any? = null, trans: String? = null): Scale

Qualitative color scale with evenly spaced hues for fill aesthetic.

Link copied to clipboard
fun scaleFillIdentity(name: String? = null, breaks: Any? = null, labels: Any? = null, lablim: Int? = null, limits: List<Any>? = null, naValue: Any? = null, format: String? = null, guide: Any? = "none"): Scale

Use this scale when your data has already been scaled. I.e. it already represents aesthetic values that can handle directly. This will not produce a legend unless you also supply the breaks and labels.

Link copied to clipboard
fun scaleFillManual(values: Any, name: String? = null, breaks: Any? = null, labels: Any? = null, lablim: Int? = null, limits: List<Any>? = null, naValue: Any? = null, format: String? = null, guide: Any? = null): Scale

Creates your own discrete scale for fill aesthetic.

Link copied to clipboard
fun scaleFillViridis(option: String? = null, alpha: Number? = null, begin: Number? = null, end: Number? = null, direction: Number? = null, name: String? = null, breaks: Any? = null, labels: Any? = null, lablim: Int? = null, limits: Any? = null, naValue: Any? = null, format: String? = null, guide: Any? = null, trans: String? = null): Scale

The viridis color maps are designed to be perceptually-uniform, both in regular form and also when converted to black-and-white.

Link copied to clipboard
fun scaleGradient(aesthetic: Any, low: String, high: String, name: String? = null, breaks: Any? = null, labels: Any? = null, lablim: Int? = null, limits: <Error class: unknown class><Number?, Number?>? = null, naValue: Any? = null, format: String? = null, guide: Any? = null, trans: String? = null): Scale

Defines smooth color gradient between two colors for the specified aesthetics.

Link copied to clipboard
fun scaleGradient2(aesthetic: Any, low: String, mid: String, high: String, midpoint: Double = 0.0, name: String? = null, breaks: Any? = null, labels: Any? = null, lablim: Int? = null, limits: <Error class: unknown class><Number?, Number?>? = null, naValue: Any? = null, format: String? = null, guide: Any? = null, trans: String? = null): Scale

Defines diverging color gradient (low-mid-high) for the specified aesthetics.

Link copied to clipboard
fun scaleGradientN(aesthetic: Any, colors: List<String>, name: String? = null, breaks: Any? = null, labels: Any? = null, lablim: Int? = null, limits: <Error class: unknown class><Number?, Number?>? = null, naValue: Any? = null, format: String? = null, guide: Any? = null, trans: String? = null): Scale

Defines smooth color gradient between multiple colors for the specified aesthetics.

Link copied to clipboard
fun scaleGrey(aesthetic: Any, start: Number? = null, end: Number? = null, name: String? = null, breaks: Any? = null, labels: Any? = null, lablim: Int? = null, limits: <Error class: unknown class><Number?, Number?>? = null, naValue: Any? = null, format: String? = null, guide: Any? = null, trans: String? = null): Scale

Sequential grey color scale for the specified aesthetics.

Link copied to clipboard
fun scaleHue(aesthetic: Any, h: <Error class: unknown class><Int, Int>? = null, c: Int? = null, l: Int? = null, hstart: Int? = null, direction: Int? = null, name: String? = null, breaks: Any? = null, labels: Any? = null, lablim: Int? = null, limits: <Error class: unknown class><Number?, Number?>? = null, naValue: Any? = null, format: String? = null, guide: Any? = null, trans: String? = null): Scale

Qualitative color scale with evenly spaced hues for the specified aesthetics.

Link copied to clipboard
fun scaleIdentity(aesthetic: Any, name: String? = null, breaks: Any? = null, labels: Any? = null, lablim: Int? = null, limits: List<Any>? = null, naValue: Any? = null, format: String? = null, guide: Any? = "none"): Scale

Use this scale when your data has already been scaled. I.e. it already represents aesthetic values that can handle directly. This will not produce a legend unless you also supply the breaks and labels.

Link copied to clipboard
fun scaleLinetypeIdentity(name: String? = null, breaks: Any? = null, labels: Any? = null, lablim: Int? = null, limits: List<Any>? = null, naValue: Any? = null, format: String? = null, guide: Any? = "none"): Scale

Use this scale when your data has already been scaled. I.e. it already represents aesthetic values that can handle directly. This will not produce a legend unless you also supply the breaks and labels.

Link copied to clipboard
fun scaleLinetypeManual(values: Any, name: String? = null, breaks: Any? = null, labels: Any? = null, lablim: Int? = null, limits: List<Any>? = null, naValue: Any? = null, format: String? = null, guide: Any? = null): Scale

Creates your own discrete scale for linetype aesthetic.

Link copied to clipboard
fun scaleLinewidth(range: <Error class: unknown class><Number, Number>? = null, name: String? = null, breaks: Any? = null, labels: Any? = null, lablim: Int? = null, limits: <Error class: unknown class><Number?, Number?>? = null, naValue: Number? = null, format: String? = null, guide: Any? = null, trans: String? = null): Scale

Scale for linewidth.

Link copied to clipboard
fun scaleLinewidthIdentity(name: String? = null, breaks: Any? = null, labels: Any? = null, lablim: Int? = null, limits: List<Any>? = null, naValue: Number? = null, format: String? = null, guide: Any? = "none"): Scale

Use this scale when your data has already been scaled. I.e. it already represents aesthetic values that can be handled directly. This will not produce a legend unless you also supply the breaks and labels.

Link copied to clipboard
fun scaleManual(aesthetic: Any, values: Any, name: String? = null, breaks: Any? = null, labels: Any? = null, lablim: Int? = null, limits: List<Any>? = null, naValue: Any? = null, format: String? = null, guide: Any? = null): Scale

Creates your own discrete scale for the specified aesthetics.

Link copied to clipboard
fun scaleShape(solid: Boolean? = null, name: String? = null, breaks: Any? = null, labels: Any? = null, lablim: Int? = null, limits: List<Any>? = null, naValue: Any? = null, format: String? = null, guide: Any? = null): Scale

Scale for shapes.

Link copied to clipboard
fun scaleShapeIdentity(name: String? = null, breaks: Any? = null, labels: Any? = null, lablim: Int? = null, limits: List<Any>? = null, naValue: Any? = null, format: String? = null, guide: Any? = "none"): Scale

Use this scale when your data has already been scaled. I.e. it already represents aesthetic values that can handle directly. This will not produce a legend unless you also supply the breaks and labels.

Link copied to clipboard
fun scaleShapeManual(values: Any, name: String? = null, breaks: Any? = null, labels: Any? = null, lablim: Int? = null, limits: List<Any>? = null, naValue: Any? = null, format: String? = null, guide: Any? = null): Scale

Creates your own discrete scale for shape aesthetic.

Link copied to clipboard
fun scaleSize(range: <Error class: unknown class><Number, Number>? = null, name: String? = null, breaks: Any? = null, labels: Any? = null, lablim: Int? = null, limits: <Error class: unknown class><Number?, Number?>? = null, naValue: Number? = null, format: String? = null, guide: Any? = null, trans: String? = null): Scale

Continuous scale for size (~radius).

Link copied to clipboard
fun scaleSizeArea(maxSize: Number? = null, name: String? = null, breaks: Any? = null, labels: Any? = null, lablim: Int? = null, limits: <Error class: unknown class><Number?, Number?>? = null, naValue: Number? = null, format: String? = null, guide: Any? = null, trans: String? = null): Scale

Continuous scale for size (~radius) that maps 0 value to 0 size.

Link copied to clipboard
fun scaleSizeIdentity(name: String? = null, breaks: Any? = null, labels: Any? = null, lablim: Int? = null, limits: List<Any>? = null, naValue: Number? = null, format: String? = null, guide: Any? = "none"): Scale

Use this scale when your data has already been scaled. I.e. it already represents aesthetic values that can handle directly. This will not produce a legend unless you also supply the breaks and labels.

Link copied to clipboard
fun scaleSizeManual(values: Any, name: String? = null, breaks: Any? = null, labels: Any? = null, lablim: Int? = null, limits: List<Any>? = null, naValue: Number? = null, format: String? = null, guide: Any? = null): Scale

Creates your own discrete scale for size aesthetic.

Link copied to clipboard
fun scaleStroke(range: <Error class: unknown class><Number, Number>? = null, name: String? = null, breaks: Any? = null, labels: Any? = null, lablim: Int? = null, limits: <Error class: unknown class><Number?, Number?>? = null, naValue: Number? = null, format: String? = null, guide: Any? = null, trans: String? = null): Scale

Scale for stroke.

Link copied to clipboard
fun scaleStrokeIdentity(name: String? = null, breaks: Any? = null, labels: Any? = null, lablim: Int? = null, limits: List<Any>? = null, naValue: Number? = null, format: String? = null, guide: Any? = "none"): Scale

Use this scale when your data has already been scaled. I.e. it already represents aesthetic values that can be handled directly. This will not produce a legend unless you also supply the breaks and labels.

Link copied to clipboard
fun scaleViridis(aesthetic: Any, option: String? = null, alpha: Number? = null, begin: Number? = null, end: Number? = null, direction: Number? = null, name: String? = null, breaks: Any? = null, labels: Any? = null, lablim: Int? = null, limits: Any? = null, naValue: Any? = null, format: String? = null, guide: Any? = null, trans: String? = null): Scale

The viridis color maps are designed to be perceptually-uniform, both in regular form and also when converted to black-and-white.

Link copied to clipboard
fun scaleXContinuous(name: String? = null, breaks: Any? = null, labels: Any? = null, lablim: Int? = null, limits: <Error class: unknown class><Number?, Number?>? = null, expand: List<Number>? = null, naValue: Number? = null, format: String? = null, trans: String? = null, position: String? = null): Scale

Continuous scale for x-axis.

Link copied to clipboard
fun scaleXDateTime(name: String? = null, breaks: Any? = null, labels: Any? = null, lablim: Int? = null, limits: <Error class: unknown class><Any?, Any?>? = null, expand: List<Number>? = null, naValue: Any? = null, format: String? = null, position: String? = null): Scale

Position scale x for date/time data.

Link copied to clipboard
fun scaleXDiscrete(name: String? = null, breaks: Any? = null, labels: Any? = null, lablim: Int? = null, limits: List<Any>? = null, expand: List<Number>? = null, naValue: Number? = null, format: String? = null, reverse: Boolean? = null, position: String? = null): Scale

Discrete scale for x-axis.

Link copied to clipboard
fun scaleXDiscreteReversed(name: String? = null, breaks: Any? = null, labels: Any? = null, lablim: Int? = null, limits: List<Any>? = null, expand: List<Number>? = null, naValue: Number? = null, format: String? = null, position: String? = null): Scale

Reversed discrete scale for x-axis.

Link copied to clipboard
fun scaleXLog10(name: String? = null, breaks: Any? = null, labels: Any? = null, lablim: Int? = null, limits: <Error class: unknown class><Number?, Number?>? = null, expand: List<Number>? = null, naValue: Number? = null, format: String? = null, position: String? = null): Scale

Continuous position scale (x) where trans="log10".

Link copied to clipboard
fun scaleXLog2(name: String? = null, breaks: List<Number>? = null, labels: List<String>? = null, lablim: Int? = null, limits: <Error class: unknown class><Number?, Number?>? = null, expand: List<Number>? = null, naValue: Number? = null, format: String? = null, position: String? = null): Scale

Continuous position scale (x) where trans="log2".

Link copied to clipboard
fun scaleXReverse(name: String? = null, breaks: Any? = null, labels: Any? = null, lablim: Int? = null, limits: <Error class: unknown class><Number?, Number?>? = null, expand: List<Number>? = null, naValue: Number? = null, format: String? = null, position: String? = null): Scale

Continuous position scales (x) where trans="reverse".

Link copied to clipboard
fun scaleXSqrt(name: String? = null, breaks: Any? = null, labels: Any? = null, lablim: Int? = null, limits: <Error class: unknown class><Number?, Number?>? = null, expand: List<Number>? = null, naValue: Number? = null, format: String? = null, position: String? = null): Scale

Continuous position scales (x) where trans="sqrt".

Link copied to clipboard
fun scaleXTime(name: String? = null, breaks: Any? = null, labels: Any? = null, lablim: Int? = null, limits: <Error class: unknown class><Any?, Any?>? = null, expand: List<Number>? = null, naValue: Any? = null, position: String? = null): Scale

Position scale x for data representing "time delta" values expressed in milliseconds.

Link copied to clipboard
fun scaleYContinuous(name: String? = null, breaks: Any? = null, labels: Any? = null, lablim: Int? = null, limits: <Error class: unknown class><Number?, Number?>? = null, expand: List<Number>? = null, naValue: Number? = null, format: String? = null, trans: String? = null, position: String? = null): Scale

Continuous scale for y-axis.

Link copied to clipboard
fun scaleYDateTime(name: String? = null, breaks: Any? = null, labels: Any? = null, lablim: Int? = null, limits: <Error class: unknown class><Any?, Any?>? = null, expand: List<Number>? = null, naValue: Any? = null, format: String? = null, position: String? = null): Scale

Position scale y for date/time data.

Link copied to clipboard
fun scaleYDiscrete(name: String? = null, breaks: Any? = null, labels: Any? = null, lablim: Int? = null, limits: List<Any>? = null, expand: List<Number>? = null, naValue: Number? = null, format: String? = null, reverse: Boolean? = null, position: String? = null): Scale

Discrete scale for y-axis.

Link copied to clipboard
fun scaleYDiscreteReversed(name: String? = null, breaks: Any? = null, labels: Any? = null, lablim: Int? = null, limits: List<Any>? = null, expand: List<Number>? = null, naValue: Number? = null, format: String? = null, position: String? = null): Scale

Reversed discrete scale for y-axis.

Link copied to clipboard
fun scaleYLog10(name: String? = null, breaks: Any? = null, labels: Any? = null, lablim: Int? = null, limits: <Error class: unknown class><Number?, Number?>? = null, expand: List<Number>? = null, naValue: Number? = null, format: String? = null, position: String? = null): Scale

Continuous position scale (y) where trans="log10".

Link copied to clipboard
fun scaleYLog2(name: String? = null, breaks: List<Number>? = null, labels: List<String>? = null, lablim: Int? = null, limits: <Error class: unknown class><Number?, Number?>? = null, expand: List<Number>? = null, naValue: Number? = null, format: String? = null, position: String? = null): Scale

Continuous position scale (y) where trans="log2".

Link copied to clipboard
fun scaleYReverse(name: String? = null, breaks: Any? = null, labels: Any? = null, lablim: Int? = null, limits: <Error class: unknown class><Number?, Number?>? = null, expand: List<Number>? = null, naValue: Number? = null, format: String? = null, position: String? = null): Scale

Continuous position scales (y) where trans="reverse".

Link copied to clipboard
fun scaleYSqrt(name: String? = null, breaks: Any? = null, labels: Any? = null, lablim: Int? = null, limits: <Error class: unknown class><Number?, Number?>? = null, expand: List<Number>? = null, naValue: Number? = null, format: String? = null, position: String? = null): Scale

Continuous position scales (y) where trans="sqrt".

Link copied to clipboard
fun scaleYTime(name: String? = null, breaks: Any? = null, labels: Any? = null, lablim: Int? = null, limits: <Error class: unknown class><Any?, Any?>? = null, expand: List<Number>? = null, naValue: Any? = null, position: String? = null): Scale

Position scale y for data representing "time delta" values expressed in milliseconds.

Link copied to clipboard
fun xlim(limits: Any): Feature

Specifies data range for x-axis. Set limits if you want values to be consistent across multiple plots. Setting limits will remove data outside of the limits.

Link copied to clipboard
fun ylim(limits: Any): Feature

Specifies data range for y-axis. Set limits if you want values to be consistent across multiple plots. Setting limits will remove data outside of the limits.