XYPlot with "relative" time values on axis

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
zuzula
Posts: 1
Joined: Tue Jan 18, 2011 7:41 pm
antibot: No, of course not.

XYPlot with "relative" time values on axis

Post by zuzula » Tue Jan 18, 2011 7:57 pm

Hi, as data I have pairs like (12000, 4) where the first value is a number of milliseconds. I'm currently using a XYLineChart which obviously displays these milliseconds values on the x-axis. But now I want my x-axis to have the format hh:mm:ss instead, e.g. 12000 should be displayed as 00:00:12. There are plots like TimeSeries but they always use absolute time values. How can I achieve this?

Thanks in advance

Locked