Performance of TeeChart Pro AX v7 Unicode control

TeeChart for ActiveX, COM and ASP
Post Reply
liet
Newbie
Newbie
Posts: 4
Joined: Fri Feb 02, 2007 12:00 am

Performance of TeeChart Pro AX v7 Unicode control

Post by liet » Mon Aug 01, 2011 8:57 am

We have used the TeeChart Pro AX v7 Unicode Multi-language control - a combined "multi-language version" with the "Unicode” version as a single ocx since 2007. Our customer used an early version of our product with TeeChart Pro AcriveX v5. The customer would not upgrade because the TeeChart Pro AX v7 Unicode is too slow for them when used with many data points.

The v7 version is about 13 times slower than the v5 version when creating a line diagram with about 200000 data points. This applies to the first time creation of the diagram as well as to the update (for example, changing the window size). Performance testing shows that the bottleneck is only the Unicode TeeChart-control. The algorithm for creating the diagram is the same for the v7 control as for the v5 control.

Is it possible to increase the performance?

Yeray
Site Admin
Site Admin
Posts: 9613
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Performance of TeeChart Pro AX v7 Unicode control

Post by Yeray » Tue Aug 02, 2011 11:07 am

Hello,

I'm trying the following code in a simple example VB6 project, with only a chart on the form and the performance looks the same in TeeChart v5 and v2010 for me here:

Code: Select all

  TChart1.Aspect.View3D = False
  TChart1.Legend.Visible = False
  
  TChart1.AddSeries scFastLine
  TChart1.Series(0).FillSampleValues 200000
I see the chart is a little bit slow to scroll, but it happens in both v5 and v2010.

Could you please send us a simple example project we can run as-is here to reproduce the difference in performance between v5 and v2010?
Thanks in advance.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

liet
Newbie
Newbie
Posts: 4
Joined: Fri Feb 02, 2007 12:00 am

Re: Performance of TeeChart Pro AX v7 Unicode control

Post by liet » Tue Aug 02, 2011 2:18 pm

Hello,

Thanks for the quick reply.

We have written a C# sample that is 6 times slower for TeeChart v7 compared to TeeChart v5.

Code: Select all

            axTChart1.Aspect.View3D = true;
            axTChart1.Legend.Visible = false;

            axTChart1.AddSeries(ESeriesClass.scLine);
            axTChart1.Series(0).ColorEachPoint = true;

            for (int i = 0; i < 20; i++)
            {
                for (int j = 0; j < 20000; j++)
                {
                    axTChart1.Series(0).Add(j, j.ToString() + "String 2011", (uint)i * 20000);                    
                }
            }

Yeray
Site Admin
Site Admin
Posts: 9613
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Performance of TeeChart Pro AX v7 Unicode control

Post by Yeray » Wed Aug 03, 2011 8:33 am

Hello,

I've done some tests and I've seen that the performance decrease may be caused by the "Unicode" feature: the v7 MultiLang doesn't show any performance decrease while the MultiLang+Unicode does.
However, note that the actual v2010.0.0.3 is full unicode so no conversion is needed and the performance isn't affected any more. So I'd suggest you to check the evaluation version: http://www.steema.com/evaluation/ax
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

liet
Newbie
Newbie
Posts: 4
Joined: Fri Feb 02, 2007 12:00 am

Re: Performance of TeeChart Pro AX v7 Unicode control

Post by liet » Wed Aug 03, 2011 10:23 am

Hello,

thank you very much.

We will evaluate the new version.

Post Reply