Qwt knows about x and y coordinates in doubles. Whatever you are doing with seconds/milliseconds - it is probably some sort of logic, that is implemented in application code.

Uwe