XYSeries in TimeSeriesChart

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
fergardi
Posts: 1
Joined: Sun Nov 21, 2010 4:57 pm
antibot: No, of course not.

XYSeries in TimeSeriesChart

Post by fergardi » Sun Nov 21, 2010 5:15 pm

Hi, I'm new in this forum. First of all, I want to thank you all for reading this, and spending your time in order to help other people like me.

I've searched here for a while but I cannot get a solution for my problem, so any help will be appreciated.

My program uses a TimeSeriesChart based on a XYSeries instead of a TimeSeries, cause I need to catch new data every 100ms or so (this can be changed), and, using a TimeSeries, it seems that some of those data are duplicated in time, and I just dont know how to fix it, that's why I'm using the XYSeries (hopefully its allowed) instead. The point is, when using the XYSeries, the horizontal Axis that shows me the current time are always starting at "00:56:00", assuming this "HH:mm:ss". There's a way to change this to start at "00:00:00" or, even better, to start at the current time and go on from there?

Thanks in advance.

Locked