in plot-api/src/commonMain/kotlin/org/jetbrains/letsPlot/scale/DateTime.kt [180:207]
fun scaleXTime(
name: String? = null,
breaks: Any? = null, // ToDo: List<Number>?
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.X,
name = name,
breaks = breaks,
labels = labels,
lablim = lablim,
limits = limits,
expand = expand,
naValue = naValue,
position = position,
otherOptions = Options(
mapOf(
TIME to true
)
)
)
}