Page 1 of 1

series.Count != YValues.Length??

Posted: Fri Feb 25, 2005 8:44 pm
by 8725765
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

Posted: Mon Feb 28, 2005 12:41 pm
by narcis
Hi Joachim,

There's no way to convert a ValueList to an array without using a loop.