Delphi,Teechart, fastline series: Division by zero exception
Posted: Tue Jun 06, 2006 12:01 pm
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!
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!