series.Count != YValues.Length??

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
joachim
Newbie
Newbie
Posts: 9
Joined: Thu Feb 05, 2004 5:00 am

series.Count != YValues.Length??

Post by joachim » Fri Feb 25, 2005 8:44 pm

I need to get all the series points in a double array to save them in a database, but

double myVals[] = highlow.HighValues.Value;

does not work properly, because the Value[] array of the series always seems to be some elements longer than I would expect from Series.Count. If I have to do the copying in a loop, it will be very poor performance (multiple lines, each thousands of points). Is there a way to get the array directly in the right length?

Joachim

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Mon Feb 28, 2005 12:41 pm

Hi Joachim,

There's no way to convert a ValueList to an array without using a loop.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply