Right now I have drop old data turned off for my graph with several SampleDataSeries on it. However, after about 6 hours the application eats up all of the RAM and stops. I know I need to turn DropOldData on, but what do I do if the user wants to review data that has been dropped? There isn't an insert data method in SampleDataSeries, or in PointLineSeries. I could use FreeformDataSeries, but there's a strong warning in the code saying:
The points don't have to be in successive order by X value. If they are used in successive order
in your application, you should use PointLineSeries or SampleDataSeries instead for optimal performance.
Freeform point line series causes significantly higher CPU/GPU load than other line series types, when
the series point count is high.
So how do I reload old data? What series should I use?
Thanks again Pasi!
Matt
Insert old data points
Moderator: Queue Moderators
- ArctionPasi
- Posts: 1367
- Joined: Tue Mar 26, 2013 10:57 pm
- Location: Finland
- Contact:
Re: Insert old data points
Hi Matt,
write your data to hard disk and when reviewing, load it from there to SampleDataSeries. When in review, set DropOldSeriesData = False, and when resuming again, set it back to True.
write your data to hard disk and when reviewing, load it from there to SampleDataSeries. When in review, set DropOldSeriesData = False, and when resuming again, set it back to True.
LightningChart Support Team, PT