Good day.
I have this problem I'm having trouble sorting out.
I have a tab control, with five tabs. Each tab has a different tab on it.
Each chart is represented by an object.
Everything works fine except for when I click on the last tab, the An unhandled exception of type 'System.StackOverflowException' occurred in system.windows.forms.dll exception get's thrown. I have no code excecuting on the Tabs index change, or any other relevant events. This makes it virtually impossible to catch the error.
Do you guys have any idea why is happening? Help would be greatly appreciated.
Thanks.
System.StackOverflowException
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Klesk,
I'm not able to reproduce the problem here. Could you please give us some more information on how to reproduce it? Which TeeChart version are you using?
It would be really helpful if you could send us and example we can run "as-is" to reproduce the problem here. You can post your files at [url]news://www.steema.net/steema.public.attachments[/url] newsgroup.
I'm not able to reproduce the problem here. Could you please give us some more information on how to reproduce it? Which TeeChart version are you using?
It would be really helpful if you could send us and example we can run "as-is" to reproduce the problem here. You can post your files at [url]news://www.steema.net/steema.public.attachments[/url] newsgroup.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
I'm using this version:
TeeChart.NET Version 1
Build 1.1.1499.42325
Sending you an example is going to prove difficult, for various reasons.
It's a user control. I will try though, it will only happen monday though.
For now, I'll share as much information as I can.
The logic and configuration of each chart is stored within it's own class. I also have a 'Charts' class, which acts as a container for all the seperate chart classes. So basically during design time, I drop a TeeChart onto a tab, and this Teechart object get's passed into the container class, where all intialization etc. is performed. The individual chart class listens to events, specifically changes on text boxes. It then re-plots itself accordingly. I use a standard 2D chart, with standard line series.
The only "obscure" thing happening to some of these charts are that they're Y-axis are set to logarithmic. Another notable thing is that the user control has a very large amount of controls on it. I'd say in the region of 160 seperate controls. Also, upon changing of textboxes, there are classes representing the current configuration, which contain DataSets. The charts will look at these datasets through the class wrapper to get the latest values to plot by.
Another thing which might be important is that the charts are set to dock "fill" with their respective tabs.
We are still using Visual Studio .Net 2003. We cannot switch because of the software our control plugs into.
I know it's difficult to determine a fault by this information alone. Fact is it might not even have anything to do with TeeChart. It's difficult to determine the source of the problem because I'm unable to catch the error.
Thank you for you're quick response.
If I find a sollution I'll post it here. If I don't I'll try hook you guys up with an example that produces said exception.
Thanks.
TeeChart.NET Version 1
Build 1.1.1499.42325
Sending you an example is going to prove difficult, for various reasons.
It's a user control. I will try though, it will only happen monday though.
For now, I'll share as much information as I can.
The logic and configuration of each chart is stored within it's own class. I also have a 'Charts' class, which acts as a container for all the seperate chart classes. So basically during design time, I drop a TeeChart onto a tab, and this Teechart object get's passed into the container class, where all intialization etc. is performed. The individual chart class listens to events, specifically changes on text boxes. It then re-plots itself accordingly. I use a standard 2D chart, with standard line series.
The only "obscure" thing happening to some of these charts are that they're Y-axis are set to logarithmic. Another notable thing is that the user control has a very large amount of controls on it. I'd say in the region of 160 seperate controls. Also, upon changing of textboxes, there are classes representing the current configuration, which contain DataSets. The charts will look at these datasets through the class wrapper to get the latest values to plot by.
Another thing which might be important is that the charts are set to dock "fill" with their respective tabs.
We are still using Visual Studio .Net 2003. We cannot switch because of the software our control plugs into.
I know it's difficult to determine a fault by this information alone. Fact is it might not even have anything to do with TeeChart. It's difficult to determine the source of the problem because I'm unable to catch the error.
Thank you for you're quick response.
If I find a sollution I'll post it here. If I don't I'll try hook you guys up with an example that produces said exception.
Thanks.
I have not really found a sollution yet, but I have found the problem so to speak. Because I'm using logarithmic charts, it's the values that are causing the chart to bomb. The stuff gets rather complicated as it's metalurgical engineering simulations and so on, I'll have to get an engineer to assist me here.
So it's not really anything to do with the charts itself.
I'm only posting this because I said I would.
Thanks for the help.
So it's not really anything to do with the charts itself.
I'm only posting this because I said I would.
Thanks for the help.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Klesk,
Thanks for the feedback.
Then it would be really helpful if you could arrange an example project with a set of data that simulates the behaviour of the original data and makes the error appear.
Thanks in advance.
Thanks for the feedback.
Then it would be really helpful if you could arrange an example project with a set of data that simulates the behaviour of the original data and makes the error appear.
Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |