Dear Team ,
While creating Time graph I have dateformat
new SimpleDateFormat("hh:mm:ss ") as one of the argument in
HorizontalDateAxis , but graph appeared with default month/date/year format.
But it worked in 0.9.3 version. Is this is the breakage ?
Thanks & Regards,
S.Karthick
breakage 0.9.4 version (date format)
Re: breakage 0.9.4 version (date format)
I solved the problem myself. Bycalling
xax.setTickUnit(new DateTickUnit(DateTickUnit.SECOND,tickVal,new SimpleDateFormat("hh:mm:ss a")));
here "xax" is HorizontalDateAxis.
It has updated format in graph,
I did so after analysing your code.
Anyway I feel there is no need pass simpleDateFormat in HorizontalDateAxix constructor. Since it is of useless in lataest version. So I feel it would be appropriate to remove that parameter (SimpleDateformat) in HorizonatlDateAxis constructor or depricate it in future version.
xax.setTickUnit(new DateTickUnit(DateTickUnit.SECOND,tickVal,new SimpleDateFormat("hh:mm:ss a")));
here "xax" is HorizontalDateAxis.
It has updated format in graph,
I did so after analysing your code.
Anyway I feel there is no need pass simpleDateFormat in HorizontalDateAxix constructor. Since it is of useless in lataest version. So I feel it would be appropriate to remove that parameter (SimpleDateformat) in HorizonatlDateAxis constructor or depricate it in future version.
Re: breakage 0.9.4 version (date format)
Thanks for reporting this...I think it has already been cleaned up in the CVS version.
Regards,
Dave Gilbert
Regards,
Dave Gilbert