Function graphs (Kotlin-2-Javascript)

f(x) =
Min.X
Max.X