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
Histogram "Division By Zero" message in VB6
Hi Jeff,
yes, you're correct, it's a bug, I've added it on our defect list. We'll try to fix if for the next maintenance releases.
A workaround could be set Active to "false" while the series have not any data.
yes, you're correct, it's a bug, I've added it on our defect list. We'll try to fix if for the next maintenance releases.
A workaround could be set Active to "false" while the series have not any data.
Pep Jorge
http://support.steema.com
http://support.steema.com