JFree charting time axis label date value for short time interval

In the JFree Chart, using the Time series data I am plotting values against epoch(time), when the time is more than a day, date is displayed in the marker/label. I would like to display date values even if the min and max for the time axis falls within a single day / 24 hours.
In short I am looking for a way to force the lablels to always display the date and time togather.

Who is Participating?
try this to set the format to use:

axis.setDateFormatOverride(new SimpleDateFormat(".......

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.