It looks like the X-axis's idea of 'now' is tied to the local system's clock. Is that right? Is there any provision for displaying a time series that doesn't have a synchronized real-time clock? I'm pulling data via JSON from sensors in an embedded device that doesn't have an RTC. The samples are all timestamped with the number of milliseconds since system startup, but it has no sense of when 'now' is in absolute terms.
I think I can work around this without modifying smoothie.js by having my code take the first timestamp returned and add the current clock time offset, and then add that offset to each subsequent point.
I worry that it's still going to have trouble with drift. I'm only displaying at most a few seconds of data that's scrolling by at maybe 15 samples/second, so to keep displaying current data it needs to stay in close sync.
I can't find anything about how the X axis works in the docs.
Thanks,
Scott