

I have a scaling problem with XYChart plotting: my data serie ranges in float values from 0.4 and 0.5 and when plotted on a scene I get as minimum Y value 1, so I can’t see anything plotted.
This problem does not arise if I use data serie with higher values such as > 100
How can I set y axis according to data serie value used?
Thanks
As stated in JavaDoc for NumberAxis constructor:
public NumberAxis(double lowerBound, double upperBound, double tickUnit)— you can provide bottom and lower bounds for your axis.Update: Autoranging of the chart works for me as well, see next code and screenshot. You may want to upgrade to JavaFX 2.1 or newer.