Page 1 of 1

Performance of TeeChart Pro AX v7 Unicode control

Posted: Mon Aug 01, 2011 8:57 am
by 9534111
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?

Re: Performance of TeeChart Pro AX v7 Unicode control

Posted: Tue Aug 02, 2011 11:07 am
by yeray
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.

Re: Performance of TeeChart Pro AX v7 Unicode control

Posted: Tue Aug 02, 2011 2:18 pm
by 9534111
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);                    
                }
            }

Re: Performance of TeeChart Pro AX v7 Unicode control

Posted: Wed Aug 03, 2011 8:33 am
by yeray
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

Re: Performance of TeeChart Pro AX v7 Unicode control

Posted: Wed Aug 03, 2011 10:23 am
by 9534111
Hello,

thank you very much.

We will evaluate the new version.