Hi,
I want to add a numbe of data points (or a section of data) in the middle of the data series. Is there a function similar to the Delete(ValueIndex1, ValueIndex2) to fast add multiple points in the middle of the data series by a single call?
Regards
Xia
Add multiple data points in the middle of series
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Xia,
I'm afraid not, you'll need to add them individually.
I'm afraid not, you'll need to add them individually.
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 |
Hi Narcis,
So I have to shift the data series from the insert point to the end of the data series (TDataSeries->Count()) by a numbe of points to be inserted, and then call AddXY() to add individual data. This could be quite slow processing when having a large amount of data and data to be inserted at the beginning. Would it be fast to prepare the data in a separate data array and then use AddArray() function?
Thanks.
Xia
So I have to shift the data series from the insert point to the end of the data series (TDataSeries->Count()) by a numbe of points to be inserted, and then call AddXY() to add individual data. This could be quite slow processing when having a large amount of data and data to be inserted at the beginning. Would it be fast to prepare the data in a separate data array and then use AddArray() function?
Thanks.
Xia
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Xia,
You may not need to shift data, just use AddXY method for add values where you want and then use FillSequence method as described here.
Hope this helps!
You may not need to shift data, just use AddXY method for add values where you want and then use FillSequence method as described here.
Hope this helps!
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 |