Page 1 of 1

error(urgent)

Posted: Wed Feb 16, 2005 10:06 am
by 8123657
Hello,
I keep getting an error while trying to present data on a chart in a line.
I have a collection which is where I am taking the data from ,the problem is that if I fill a line from a collection with 200 points and than try to fill it again from a collection which has 100 points - I get the crash.
I tried to do:
tChart2.Series[0].Delete(0,tChart2.Series[0].Count);
but it's not helping.
How to solve it?
Thanks a lot

Posted: Wed Feb 16, 2005 10:19 am
by narcis
Hello .net,

I can not reproduce the reported problem here. I created a line series with 200 values and then clicking a button I added 100 values to the series each time I clicked and no error occured.

Could you please be more specific? Which is the error you get? Could you please send us a example we can run "as-is" so that we can reproduce the problem here?

Please post your project at steema.public.newsgroups available at news://www.steema.net.

Thanks in advance.