Hello
We are developing an application to view physiological data. Because of the large amount of data we read samples from disk in buffers with typically 20-200 samples (XY points). I tried to use AddArray (following the example code) repeatedly in the same call to update the Chart but it seems that only the last AddArray is displayed. Moreover, if I use the same COleSafeArrays XValues, YValues to update two or more series in chart sequentlially, the last point of the first series is connected to the first point of the second series, which is obviously not what I want. I use now AddXY but hope to use AddArray again. Any Ideas?
AddArray Question
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hello jeroen,
Yes, AddArray method removes existing series points and replaces them for the ones in supplied arrays. If you want to concatenate arrays you'll have to do it manually before suppling the arrays to the series.
You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.
Thanks in advance.
We are developing an application to view physiological data. Because of the large amount of data we read samples from disk in buffers with typically 20-200 samples (XY points). I tried to use AddArray (following the example code) repeatedly in the same call to update the Chart but it seems that only the last AddArray is displayed.
Yes, AddArray method removes existing series points and replaces them for the ones in supplied arrays. If you want to concatenate arrays you'll have to do it manually before suppling the arrays to the series.
I'm not sure about what are you doing here. Could you please send us a simple example project we can run "as-is" to reproduce the problem here?Moreover, if I use the same COleSafeArrays XValues, YValues to update two or more series in chart sequentlially, the last point of the first series is connected to the first point of the second series, which is obviously not what I want.
You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.
Thanks in advance.
Best Regards,
Narcís Calvet / 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 |