Hi,
I have a TChart on a Windows form, along with some other controls (groupboxes, etc). When some other window is placed over this form and is then moved away, some components do not redraw themselves.
We traced the problem to Z-order - only the components that are added to the from after the TChart component, are not updated - probably update event is somehow consumed within TChart control.
I can not work around this way - I have multiple instances of TChart control on the same form. Also, the problem occurs even with controls on a different form of the same application - here Z-order will not help..
This seems to occur only with 3D charts (contour, surface)
Click on the TChart control causes the control which did not update to redraw
Is this a known problem, is there a workaround? Help would be appreciated.
TChart Version 1.1.1644.16795
Natalia
TChart blocks updates of other components
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Natalia,
Could you please send us an example we can run "as-is" to reproduce the problem here? You can post your files at news://www.steema.net/steema.public.attachments newsgroup.
Thanks in advance.
BTW: Also notice that there's a newer version availble at the client area.
Could you please send us an example we can run "as-is" to reproduce the problem here? You can post your files at news://www.steema.net/steema.public.attachments newsgroup.
Thanks in advance.
BTW: Also notice that there's a newer version availble at the client area.
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 |
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Natalia,
Thanks for the project. I tested it here with Build 1.1.2307.20497, which is the latest TeeChart for .NET v1 release available at the client area, and couldn't reproduce the problem here. Could you please download and install this version and test if it works fine at your end?
Thanks in advance.
Thanks for the project. I tested it here with Build 1.1.2307.20497, which is the latest TeeChart for .NET v1 release available at the client area, and couldn't reproduce the problem here. Could you please download and install this version and test if it works fine at your end?
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 |
Hello,
I have noticed the same problem with TeeChart 2.0.2489.20951. I am using Visual C++ 2005 .NET.
If I use for example two Charts in one form and I want to update both charts very quickly (~ 10 updates per second), only one chart is updated, the other chart seems to be blocked, i.e there is no repaint of this one.
Only if I move the window with the mouse both charts are updated together.
I used a splitContainer and dropped one chart in the upper and the second chart in the lower panel of the splitContainer.
I have still no idea how to fix the problem.
Thanks,
Norbert
I have noticed the same problem with TeeChart 2.0.2489.20951. I am using Visual C++ 2005 .NET.
If I use for example two Charts in one form and I want to update both charts very quickly (~ 10 updates per second), only one chart is updated, the other chart seems to be blocked, i.e there is no repaint of this one.
Only if I move the window with the mouse both charts are updated together.
I used a splitContainer and dropped one chart in the upper and the second chart in the lower panel of the splitContainer.
I have still no idea how to fix the problem.
Thanks,
Norbert
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Norbert,
Could you please send us an example we can run "as-is" to reproduce the problem here?
You can post your files at news://www.steema.net/steema.public.attachments newsgroup.
Thanks in advance.
Could you please send us an example we can run "as-is" to reproduce the problem here?
You can post your files at news://www.steema.net/steema.public.attachments newsgroup.
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 |
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Norbert,
Thanks for the example. We could reproduce the problem here and it is not a TeeChart problem, is a thread using problem. What happens is that the thread stops before both charts have time to draw themselves.
An option would be stopping the thread in the 2nd chart AfterDraw event so that it has the exact time for both charts to draw.
Another option is using a timer. I'm going to attach your project modified at the newsgroups. It is using a timer and reducing its interval you can see that the charts don't have time to draw themselves.
Thanks for the example. We could reproduce the problem here and it is not a TeeChart problem, is a thread using problem. What happens is that the thread stops before both charts have time to draw themselves.
An option would be stopping the thread in the 2nd chart AfterDraw event so that it has the exact time for both charts to draw.
Another option is using a timer. I'm going to attach your project modified at the newsgroups. It is using a timer and reducing its interval you can see that the charts don't have time to draw themselves.
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 |