in plot-api/src/commonMain/kotlin/org/jetbrains/letsPlot/scale/DateTime.kt [126:155]
fun scaleYDateTime(
name: String? = null,
breaks: Any? = null, // ToDo: should understand Date
labels: Any? = null,
lablim: Int? = null,
limits: Pair<Any?, Any?>? = null,
expand: List<Number>? = null,
naValue: Any? = null,
format: String? = 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,
format = format,
position = position,
otherOptions = Options(
mapOf(
DATE_TIME to true
)
)
)
}