I just downloaded the new jfreechart, also for the use of the ItemLabelPosition in a difference chart which was previously not supported..
All works fine except the setLowerMargin and setUpperMargin on the 'domainAxis', it doesn't matter what I put in.. in the previous version of jfreechart I used it still worked (1.0.1)
What I also noticed is that the tickunits are shown differently..
domainAxis.setAutoRange(false);
domainAxis.setTickUnit(new DateTickUnit (DateTickUnitType.MINUTE, 30));
domainAxis.setVerticalTickLabels(true);
....
domainAxis.setMaximumDate(new Date(30000 * 60 * 48));
plot.setDomainAxis(domainAxis);
It used to display 00:30 01:00 1:30 etc..
Now it displays 00:29 00:59 1:29 etc..
Can somebody advise?
Kind regards Peter
Version 1.0.13 + setLowerMargin
Re: Version 1.0.13 + setLowerMargin
I noticed if you have space inside the graph it will be set to 0 when you set the margin to 0 however with the previous version of Jfreechart (1.0.0) the axis value ranges where positioned.. So before the margin between the values/ ranges and the graph where set.. I don't see any other setMargin methods..
Is this a bug?
Regards Peter
Is this a bug?
Regards Peter