Histogram "Division By Zero" message in VB6
Posted: Tue Jan 27, 2004 3:46 pm
I'm having a problem when I create a histogram using TeeChart 6 in VB 6. If the histogram has no data points in it, when you move the mouse over the chart, a message box pops up. It is titled "VB6" and says "Division by zero.". If you move the mouse away from the chart and press Enter, the error is cleared. But as soon as the mouse crosses the chart, the error reappears.
I duplicated the error with a very simple chart and form -- I created the chart, added one series of type histogram (3D). Then in the Data tab, I deleted all the data points and ran the program.
I've seen the problem on both my WinXP development box and on some Win2K machines which I've installed the program on.
Has anyone else seen this problem, or have ideas on fixing it?
Thanks,
Jeff
I duplicated the error with a very simple chart and form -- I created the chart, added one series of type histogram (3D). Then in the Data tab, I deleted all the data points and ran the program.
I've seen the problem on both my WinXP development box and on some Win2K machines which I've installed the program on.
Has anyone else seen this problem, or have ideas on fixing it?
Thanks,
Jeff