I am getting the values from a database which is of Timestamp
datatype. I am now trying to plot the timestamp values in the xxaxis in Jfreechart. Currently I am using
final TimeSeries s1 = new TimeSeries("Series1", Millisecond.class);
I am confused in adding the timestamp values to the time series. The timestamp values are in the following format.
2013-07-22 17:10:49.219
Can anyone please help me? I have referred many sites. In some sites they have suggested to extract the date, hours, minutes, and milliseconds to add in the series. But from timestamp how should I extract the values? I am new to this topic and the Date functions are really confusing for me.