Reputation: 2868
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. :)
Upvotes: 1
Views: 542
Reputation: 4477
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.
Upvotes: 3