Reputation: 252
I created a JavaFX lineChart but when the values are too close I get something like :
instead of :
How can I change the origin of the JavaFX chart dynamycally ?
Upvotes: 1
Views: 1131
Reputation: 5066
The y axis and x axis are NumberAxis instances. You can setLowerBound
and setUpperBound
to change the range of the axes. setForceZeroInRange
could also be interesting.
Upvotes: 4