DeleteOldSeriesData define what old data is

Need a new feature to LightningChart Ultimate? Post it here and perhaps it will be implemented in the next version...

Moderator: Queue Moderators

Post Reply
mattmobilemedtek
Posts: 28
Joined: Tue Sep 30, 2014 8:06 pm

DeleteOldSeriesData define what old data is

Post by mattmobilemedtek » Thu Sep 10, 2015 2:51 pm

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

mattmobilemedtek
Posts: 28
Joined: Tue Sep 30, 2014 8:06 pm

Re: DeleteOldSeriesData define what old data is

Post by mattmobilemedtek » Thu Sep 17, 2015 5:50 pm

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

Post Reply