fun scaleYTime()

in plot-api/src/commonMain/kotlin/org/jetbrains/letsPlot/scale/DateTime.kt [232:259]


fun scaleYTime(
    name: String? = null,
    breaks: Any? = null,
    labels: Any? = null,
    lablim: Int? = null,
    limits: Pair<Any?, Any?>? = null,
    expand: List<Number>? = null,
    naValue: Any? = null,
    position: String? = null
): Scale {
    checkScaleExpand(expand)
    return Scale(
        aesthetic = Aes.Y,
        name = name,
        breaks = breaks,
        labels = labels,
        lablim = lablim,
        limits = limits,
        expand = expand,
        naValue = naValue,
        position = position,
        otherOptions = Options(
            mapOf(
                TIME to true
            )
        )
    )
}