Hi!
How can i change the visualization of the X's and Y's values to Integer in an XYChart?
Thanks!!
X and Y values
Re: X and Y values
Hi Elio,
Do you mean on the axis labels? One thing you can do is replace the set of standard tick units using the setStandardTickUnits(...) method in the NumberAxis class. And the TickUnits class contains a createIntegerTickUnits() method that returns a ready-made collection for you, if you don't feel like creating your own.
Regards,
DG.
Do you mean on the axis labels? One thing you can do is replace the set of standard tick units using the setStandardTickUnits(...) method in the NumberAxis class. And the TickUnits class contains a createIntegerTickUnits() method that returns a ready-made collection for you, if you don't feel like creating your own.
Regards,
DG.