You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have this plot:
val testData = mapOf(
"x" to listOf(1, 2, 3, 4, 5, 6),
"y" to listOf(4, null, 6, null, 2, 3),
)
letsPlot(testData) { x = "x"; y = "y" } + ggsize(1300, 300) + geomLine()
As you can see in the plot produced, the line plot is connecting the last non-null value to the next non-null value.
Is there a way that I can instruct it to not draw connecting lines when it comes across null values in y axis data?
I'm trying to make it more obvious in the plot where the values are missing or NaN.