Page 1 of 1

Delphi,Teechart, fastline series: Division by zero exception

Posted: Tue Jun 06, 2006 12:01 pm
by 9343066
I'd like to know why I keep getting the divide by zero message when I'm running my delphi 7 win32 application.
When I place a chart on a form and add a Fastline serie with the teechart editor with some random data and compile and run my program, I always get the divide by zero error. When I re-generate new random data with the teechart editor and run my program again without compiling it everything seems to work fine! If I would compile the source again and run the program it will produce the divide by zero exception again.

It looks if I forget to initialise something! Can someone please explain to me why the divide by zero exception occurs?

Thanks in advance!

Posted: Tue Jun 06, 2006 2:38 pm
by narcis
Hi Elvins,

I'm not able to reproduce the problem here using TeeChart Pro v7.07. Could you please send us an example we can run "as-is" or let us know the exact steps we should follow to reproduce the problem here?

You can post your files at news://www.steema.net/steema.public.attachments newsgroup.

BTW: Which TeeChart version are you using? Have you modified TeeChart sources?