You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Demo the issue:
Add the line domainAxis.setFirst(new Month(10, 2001)); in the demo PeriodAxisDemo1.java
Expected the chart to start from Oct-2010, but it starts from the first chart point.
Commenting out the method domainAxis.setAutoRangeTimePeriodClass(Month.class); does not have effect.
Using v1.5.5, Java-8
The text was updated successfully, but these errors were encountered:
The constructor PeriodAxis(label, first, last) does not work with this required sequence of calls.
BTW, it is very unusual sequence of calls. I expect all settings for PeriodAxis object to be called before finally calling setDomainAxis() with this PeriodAxis object.
From user's perspective classes PeriodAxis and DateAxis are very similar. It would be great to have method DateAxis.setLabelInfo() similar to PeriodAxis.setLabelInfo() and method PeriodAxis.setMinimumDate() and PeriodAxis.setMaximumDate() similar to class DateAxis. Please create feature requests for these methods.
Demo the issue:
Add the line
domainAxis.setFirst(new Month(10, 2001));
in the demo PeriodAxisDemo1.javaExpected the chart to start from Oct-2010, but it starts from the first chart point.
Commenting out the method
domainAxis.setAutoRangeTimePeriodClass(Month.class);
does not have effect.Using v1.5.5, Java-8
The text was updated successfully, but these errors were encountered: