Hi,
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.
PS: I am new to JFree. Please provide detailed solutions/explanations.
Thanks.
Timeseries Chart spanning nanoseconds
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
Re: Timeseries Chart spanning nanoseconds
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
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
Re: Timeseries Chart spanning nanoseconds
Hi Gilbert,
Thanks for your suggestion.
And I had one more query.I am doing requirement analysis ,so I want to see if JFree Charts are suitable for the application to be developed.
Will JFree Charts be able to handle TB's of data without compromising on perfomance noticeably??
Thanks
Thanks for your suggestion.
And I had one more query.I am doing requirement analysis ,so I want to see if JFree Charts are suitable for the application to be developed.
Will JFree Charts be able to handle TB's of data without compromising on perfomance noticeably??
Thanks
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
Re: Timeseries Chart spanning nanoseconds
No.
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
Re: Timeseries Chart spanning nanoseconds
Hi Gilbert,
Thanks for the prompt reply
Just wanted to know how much data JFree Charts can handle ?
Thanks for the prompt reply
Just wanted to know how much data JFree Charts can handle ?
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
Re: Timeseries Chart spanning nanoseconds
It's something that varies a lot depending on the data type, the renderer (and the attributes you choose), the platform (JRE, available memory, CPU power) and other factors so it is definitely something that you should test for yourself according to your requirements.
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
Re: Timeseries Chart spanning nanoseconds
Hi Gilbert,
Yeah I got what you trying to say. I will try to create a valueAxis subclass to handle the nanoseconds.
Yeah I got what you trying to say. I will try to create a valueAxis subclass to handle the nanoseconds.
-
- Posts: 2
- Joined: Mon Jul 14, 2014 2:05 pm
- antibot: No, of course not.
Re: Timeseries Chart spanning nanoseconds
Hey ankx273,
Did you manage to create the "valueAxis subclass" ? If you did could please share some code snippet.
I have a database with nanoseconds time-stamps, so I really need the chart to handle that time-scale.
Thanks.
Did you manage to create the "valueAxis subclass" ? If you did could please share some code snippet.
I have a database with nanoseconds time-stamps, so I really need the chart to handle that time-scale.
Thanks.