Open AndreiKingsley opened 1 week ago
Example:
val df1 = dataFrameOf(
"x1" to listOf(1, 2, 5),
"y1" to listOf(3, 4, 5)
)
val df2 = dataFrameOf(
"x2" to listOf(3, 4, 5),
"y2" to listOf(1, 2, 7)
)
df1.plot {
line {
x(x1)
y(y1)
}
withData(df2) {
points {
x(x2)
y(y2)
}
}
}
Partially solves #430. Add
withData {}
that allows to modify dataset for layers. SupportsDataFrame
extensions.