Hi, what should be the conventional way to truncat...
# tornadofx
y
Hi, what should be the conventional way to truncate the empty part of the chart? like below. I tried to play with invalidateRange but it didn't seemed to affect and i'm not sure if there is something simpler. Thanks
a
You probably can just use the setForceZeroInRange() method (or property) together with autoRange to achieve this. https://docs.oracle.com/javase/8/javafx/api/javafx/scene/chart/NumberAxis.html#setForceZeroInRange-boolean-
y
@Arthur thanks for that! exactly what I needed.
👍 1