Open jns-codeworks opened 2 years ago
you can change this line val xOffset = 20.dp.toPx() * xZoom.value
in draw function to val xOffset = plot.xAxis.stepSize.toPx() * xZoom.value
you can change this line
val xOffset = 20.dp.toPx() * xZoom.value
in draw function toval xOffset = plot.xAxis.stepSize.toPx() * xZoom.value
Where i can write this code? please more detail
It seems like XAxis.stepSize is not synchronized to the xOffset between DataPoints. Changing stepSize only has effect on XAxis, not on Line