Page 1 of 1

DeleteOldSeriesData define what old data is

Posted: Thu Sep 10, 2015 2:51 pm
by mattmobilemedtek
Hello,

Currently old data is defined as anything before the current window that is being rendered. It would be nice if I could define when data is considered old. I'd love to be able to specify a time like 60 seconds for the old data threshold so any data older than 60 seconds would be removed.

Thanks,
Matt Becker

Re: DeleteOldSeriesData define what old data is

Posted: Thu Sep 17, 2015 5:50 pm
by mattmobilemedtek
I ended up implementing this by hard-coding that the data before the x axis minimum - 30 should be removed. It would be nice if it were a property that could be easily changed, but it works for now.

Here's what I did.

double dDropBeforeX = m_dMinimum - 30; // seconds