I have a JFreeChart TimeSeries chart that has 2 data item.
I need to mark points in it.
For example I need it show at a specific time what is the line's value (while there is not actually any value and JFreeChart created line).
Example:
TimeSeries t=new TimeSeries("Test",Second.class);
Dataset.addSeries(t);
Calendar C=Calendar.getInstance();
t.add(new Second(C.getTime()), 100);
C.setTimeInMillis(C.setTimeInMillis+10*60*60*1000);
t.add(new Second(C.getTime()),200);
// Now I want Something like this psudo code
C.setTimeInMillis(C.setTimeInMillis-5*60*60*1000);
t.mark(new Second(C.getTime()));
How Can I mark points on a series by their domain value (So the range value should be calculated automatically)?
Thanks