Exception: Floating Point Overflow
Posted: Tue Sep 12, 2006 3:11 pm
Hi,
I'm having a problem with floating point overflow exceptions with the TChart object. I think I have isolated why it's happening, but not how to avoid it. Our appilcation has a graph that updates periodically, and the floating point overflow seems to happen when zooming in/out (out mostly). If I turn off the updating then the problem seems to go away. The exception is thrown from several places, one of which is in TChartAxis.InternalCalcRange code.
Is there some lockout mechanism that I'm supposed to be using to avoid changing data in the middle of TChart's event handling?
Any pointers or directions to look would be greatly appreciated,
Mike
I'm having a problem with floating point overflow exceptions with the TChart object. I think I have isolated why it's happening, but not how to avoid it. Our appilcation has a graph that updates periodically, and the floating point overflow seems to happen when zooming in/out (out mostly). If I turn off the updating then the problem seems to go away. The exception is thrown from several places, one of which is in TChartAxis.InternalCalcRange code.
Is there some lockout mechanism that I'm supposed to be using to avoid changing data in the middle of TChart's event handling?
Any pointers or directions to look would be greatly appreciated,
Mike