JFree TimeSeries Chart Spanning Nanoseconds

倾然丶 夕夏残阳落幕 提交于 2019-12-12 00:42:34

问题


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:


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.



来源:https://stackoverflow.com/questions/21160297/jfree-timeseries-chart-spanning-nanoseconds

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!