JFree TimeSeries Chart Spanning Nanoseconds

2019-09-19 01:12发布

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. :)

1条回答
Rolldiameter
2楼-- · 2019-09-19 01:41

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.

查看更多
登录 后发表回答