Page 1 of 1

Panning into X Axis in Real-time monitoring graphic

Posted: Mon May 11, 2015 8:08 pm
by aemontero7
Why is data lost when I do panning repeatedly into X Axis after X seconds of data generated in a Real-time monitoring graphic using the Signal Generator Component? The same problem occurs in Thread-fed multi-channel data example in demo of the application when I try to do panning in X axis after the generation of data is stopped. What is the problem? Is there any way to solve this problem? I don't want to lose data.

Re: Panning into X Axis in Real-time monitoring graphic

Posted: Tue May 12, 2015 5:22 am
by ArctionPasi
Hi,

when ViewXY.DropOldSeriesData is enabled, the chart destroys data points that fall below X axis minimum from the series intended for scrolling real-time monitorings: SampleDataSeries, PointLineSeries, AreaSeries and HighLowSeries. The destroying is made when X axis range changes.

It is made so that the programmer doesn't have to destroy the data points manually. If you have lot of data points, the computer will run out of memory if data points are not destroyed.

The solution for this is: set ViewXY.DropOldSeriesData = false after stopping the monitoring. Then it will keep all the data when panning and zooming the view.

Re: Panning into X Axis in Real-time monitoring graphic

Posted: Thu May 14, 2015 3:26 pm
by aemontero7
ok, I solved my problem. Thanks