I have create a axis with range 20 to 300 and TickUnit 40.
Code: Select all
NumberAxis xaxis = (NumberAxis)plot.getDomainAxis();
xaxis.setTickUnit(40);
xaxis.setRange(20,300);
xaxis.setAutoRangeIncludesZero(false);
Have anybody an idea, how can I solve this problem / set the first shown value to 20?
Thanks for your help.
bye