I am plotting several datapoints spanning several days. I want to be able to display the X axis labels at every midnight point. Is there a built-in way to do this?
Jim
P.S. We are currently using JClass, but can't get it to do what we want.
Thanks!
TImeSeries Labels at Midnight
Re: TImeSeries Labels at Midnight
I think if you do this:
myDateAxis.setDateUnit(new DateUnit(Calendar.DATE, 1));
...then you will get tick labels at the beginning of each day.
The date axis code is a bit messy and is being revised at the moment to work more along the lines of what is being done with the NumberAxis class.
Regards,
DG.
myDateAxis.setDateUnit(new DateUnit(Calendar.DATE, 1));
...then you will get tick labels at the beginning of each day.
The date axis code is a bit messy and is being revised at the moment to work more along the lines of what is being done with the NumberAxis class.
Regards,
DG.