I'm converting my app to a 64 bit application. Our software worked perfectly with TeeChart 7. Since we've upgraded to TeeChart 2015, we have serious performance issue. CPU usage it's up to the roof.
That causes some display issue. It can’t display normally itself and affect other objects' displaying in model(please see the attachment "TeeChart2015 affect other objects.jpg"). After a long time of investigating, I figure out the root cause, the code ‘m_pChart->GetCanvas()->PutUseBuffer(VARIANT_FALSE);’. When setting this property to VARIANT_TURE, the display issue was almost fixed except TeeChart still displays with a wrong border. But it cause another issue, the speed issue. When running the model the speed becomes very very slowly. Actually, the ‘UseBuffer’ value is used to control the speed of drawing TeeChart. It seems we can’t let it display normally and keep the normally speed at the same time. Then I tried to set ‘UseBuffer’ property to VARIANT_FALSE before drawing teechart and setting to VARIANT_TURE after finishing drawing TeeChart.
After some testing, the speed of teechart7 was not affected by this kind of setting, but the teechart15 was becoming more slowly than always putting the 'UseBuffer' to VARIANT_FALSE.
Above all, that’s to say, there are two issues after upgrading teechart.
1. TeeChart still displays with a wrong border(missing one or two edge(please see attachment "TeeChart2015 disaply unnormal.jpg"), it can display well sometimes).
2. The running speed of model becomes more slowly.
We're setting auto paint to true/false to disabled drawing when adding points, etc...
Anyone is experiencing the same problem? Thx
Teechart 7 -> Teechart 2015 Performance issue
Teechart 7 -> Teechart 2015 Performance issue
- Attachments
-
- TeeChart2015 affect other objects's displaying in my model.
- TeeChart2015 affect other objects.jpg (266.88 KiB) Viewed 7859 times
-
- The border of TeeChart2015 disaplys unnormally
- TeeChart2015 disaply unnormal.jpg (124.73 KiB) Viewed 7850 times
Re: Teechart 7 -> Teechart 2015 Performance issue
Hello,
First of all note TeeChart ActiveX v2016.0.0.1 has been published (here). Could you please give it a try to check if it still reproduces the same issues for you?
If the issues still happen with v2016.0.0.1,
One of the things that changed is that we moved from GDI to GDIPlus as default canvas. Take a look at the options you have to change from GDIPlus to GDI here.
Another feature that may affect performance is Hover. You can disable Hover calling this:
or at design time:
If you still find problems with any of the above issues, please try to arrange a simple example project we can run as-is to reproduce the problem here.
It seems you are developing your application with Arena, aren't you? I'm afraid we don't have that tool here, but maybe you can still reproduce the problems with VB6/Visual Studio, that would be preferable for us.
First of all note TeeChart ActiveX v2016.0.0.1 has been published (here). Could you please give it a try to check if it still reproduces the same issues for you?
If the issues still happen with v2016.0.0.1,
Have you tried playing with the bevels?Arena wrote:1. TeeChart still displays with a wrong border(missing one or two edge(please see attachment "TeeChart2015 disaply unnormal.jpg"), it can display well sometimes).
Note v7-v2015/v2016 is a quite big jump.Arena wrote:2. The running speed of model becomes more slowly.
One of the things that changed is that we moved from GDI to GDIPlus as default canvas. Take a look at the options you have to change from GDIPlus to GDI here.
Another feature that may affect performance is Hover. You can disable Hover calling this:
Code: Select all
TChart1.Hover.Visible = False
It seems you are developing your application with Arena, aren't you? I'm afraid we don't have that tool here, but maybe you can still reproduce the problems with VB6/Visual Studio, that would be preferable for us.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |