1

I have to plot TimeSeries chart where the data is coming in nanoseconds. But, In my current implementation our date axis range is in Milliseconds.

So how can I change the Date Axis range from milliseconds to nanoseconds.

Thanks. :)

Ankita
  • 2,798
  • 4
  • 18
  • 25

1 Answers1

3

This is the answer I gave on your post in the JFreeChart forum:

The DateAxis won't give you precision below milliseconds, because under the covers it is working with java.util.Date (which provides only millisecond precision). I don't think there would be any obstacle to creating a ValueAxis subclass that could handle nano-seconds, but there is no implementation of that at present.

David Gilbert
  • 4,427
  • 14
  • 22