[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 580
  • Last Modified:

JFree charting time axis label date value for short time interval

Hi,
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.

cheers
0
parallel_mis
Asked:
parallel_mis
1 Solution
 
objectsCommented:
try this to set the format to use:

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

0

Featured Post

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now