Hi,
I log sensor data to chart about ten times/ second using Series[0].Add . Where is the data stored and can I adjust how much data is stored in that 'buffer' ?
Because basically everything works well but because that PC is not too fast there is update problems when I have much data on chart 'buffer' ( hundreds of thousands) .
Or is there any more practical method to collect that kind of data ? I think my current method leads to some kind of overflow in some point anyway if there is no limit how much data is collected to chart.
For my application about 40 000 history points will be enough and I need to show only about 1000 points simultaneously on screen. Other data should be available by scrolling the chart.
Chart history amount
-
- Guru
- Posts: 1603
- Joined: Fri Nov 15, 2002 12:00 am
Re: Chart history amount
Hello,
Yes, you can use the Series.Delete method - there is an example of how to do this in the Feature Demo under:
%PROGRAMFILES(x86)%\Steema Software\Steema TeeChart for .NET 2015 4.1.20XX.XXXXX\Examples\DemoProject\bin\ExecutableDemo\TeeChartNetExamples.exe
All Features -> Welcome !\Speed\Realtime charting
Yes, you can use the Series.Delete method - there is an example of how to do this in the Feature Demo under:
%PROGRAMFILES(x86)%\Steema Software\Steema TeeChart for .NET 2015 4.1.20XX.XXXXX\Examples\DemoProject\bin\ExecutableDemo\TeeChartNetExamples.exe
All Features -> Welcome !\Speed\Realtime charting
Best Regards,
Christopher Ireland / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: Chart history amount
Thanks for you suggestion, works perfectly.
Ande
Ande