Page 1 of 1

Area series not displaying after upgrading to v3.5.3330

Posted: Fri Feb 27, 2009 9:56 pm
by 14047222
Hi,
I upgraded from 3.5.3146 to 3.5.3330 hoping to resolve a problem we are having with the performance of TCharts when we have a large number of datapoints (>20,000). However, after the upgrade we no longer see the areas on the charts or they are displayed in numerous axes on the charts (Picasso-like). The Teechart I'm working with has 3 area series and 3 line series. They are not 3-D nor is stack used. I was able to reproduc the problem in the designer by opening the TeeChart Editor, selecting the serie's Data Source tab, changing the Number of sample values to 25,000, then selecting Apply. Please take a look at this and let me know what to do.
Thank you

Posted: Mon Mar 02, 2009 9:38 am
by 10050769
Hi glich,

We can not reproduce your problem here. I recomended vistit next links,there seemed problem to your that is solved in current version of TeeChart .NET


Update TeeChart.Net post

http://www.teechart.net/support/viewtopic.php?t=9220


TeeChartNET3Release.txt :


See number of bug report [TF02013848].

http://www.steema.com/files/public/teec ... elease.txt


Please, check that your version of TeeChart .NET is new update version.

Thanks,

Posted: Mon Mar 02, 2009 9:23 pm
by 14047222
Hi Sandra,
I am using TeeChart Pro Version 3.5.3330.21114, Runtime v2.0.50727, with Visual Studio C# 2008 and .Net 2.0.
To retest this issue, I upgraded TeeChart 3.5.3146 to 3.5.3330 (3330 had been backed off), created a new Windows forms project with a single TChart object on the form, 3-D was turned off, 3 areas and 3 lines were added to the TChart, the 3rd area was moved down to the bottom of the list and unchecked, and the legend was aligned to the bottom of the chart. I then added code to create 25,000 data points to each area and line. When this is run, sometimes the areas are filled in and sometimes not. If the chart is zoomed multiple times, the areas seem to fracture.
I'm not sure how to proceed but, for me, 3330 is unusable. Please could you take a 2nd look at this issue?
Regards

Posted: Tue Mar 03, 2009 9:33 am
by 10050769
Hi glitch,


We can not reproduce your problem here using the following code:


Code: Select all

private void Form1_Load(object sender, EventArgs e)
        {


            Steema.TeeChart.Styles.Area area1 = new Steema.TeeChart.Styles.Area(tChart1.Chart);
            Steema.TeeChart.Styles.Area area2 = new Steema.TeeChart.Styles.Area(tChart1.Chart);
            Steema.TeeChart.Styles.Line line1 = new Steema.TeeChart.Styles.Line(tChart1.Chart);
            Steema.TeeChart.Styles.Line line2 = new Steema.TeeChart.Styles.Line(tChart1.Chart);
            Steema.TeeChart.Styles.Line line3 = new Steema.TeeChart.Styles.Line(tChart1.Chart);
            Steema.TeeChart.Styles.Area area3 = new Steema.TeeChart.Styles.Area(tChart1.Chart);
            tChart1.Aspect.View3D = false;
            tChart1.Legend.Alignment = Steema.TeeChart.LegendAlignments.Bottom;
            
            area3.Visible = false;

            tChart1.AutoRepaint = false;
            Random y = new Random();
            for (int i = 0; i < 25000; i++)
            {
                foreach (Steema.TeeChart.Styles.Series s in tChart1.Series)
                {
                    s.Add(y.Next(1000));
                }
            }
            tChart1.AutoRepaint = true;
            tChart1.Refresh();

        }

Please, change the necessary elements of code, because we can reproduce your issue here.

Thanks,

Posted: Tue Mar 03, 2009 4:07 pm
by 14047222
Hi Sandra,
Thanks for the reply. I only needed to add slope to the chart to get the effect.

Code: Select all

        private void Form1_Load(object sender, EventArgs e)
        {
            Steema.TeeChart.Styles.Area area1 = new Steema.TeeChart.Styles.Area(tChart1.Chart);
            Steema.TeeChart.Styles.Area area2 = new Steema.TeeChart.Styles.Area(tChart1.Chart);
            Steema.TeeChart.Styles.Line line1 = new Steema.TeeChart.Styles.Line(tChart1.Chart);
            Steema.TeeChart.Styles.Line line2 = new Steema.TeeChart.Styles.Line(tChart1.Chart);
            Steema.TeeChart.Styles.Line line3 = new Steema.TeeChart.Styles.Line(tChart1.Chart);
            Steema.TeeChart.Styles.Area area3 = new Steema.TeeChart.Styles.Area(tChart1.Chart);
            tChart1.Aspect.View3D = false;
            tChart1.Legend.Alignment = Steema.TeeChart.LegendAlignments.Bottom;

            area3.Visible = false;

            tChart1.AutoRepaint = false;
            Random y = new Random();
            double[] d = {100.0,100.0,100.0,100.0,100.0,100.0};
            for(int i = 0; i < 25000; i++)
            {
                int n = 0;
                foreach(Steema.TeeChart.Styles.Series s in tChart1.Series)
                {
                    d[n] += y.Next(1000);
                    s.Add(d[n++]);
                }
            }
            tChart1.AutoRepaint = true;
            tChart1.Refresh();
        }
    }
The result, for me, was a chart without areas, only lines. As I zoomed the image incrementally, areas appeared but in odd looking fashion. Play with the zoom and resizing to see different effects.
Kind regards,
John

Posted: Wed Mar 04, 2009 10:25 am
by 10050769
Hi, John

I could reproduce your problem and I have added to the list of Bug Report with number [TF02013920] we will try to fix it for next versions of TeeChart .NET.

Thanks,

Posted: Thu Mar 05, 2009 6:10 pm
by 14047222
Thank you, Sandra.

The original reason for my update was to resolve a performance issue with zoom/unzoom. Zoom and, especially, unzoom performance degrades quite noticably with series containing a large number of datapoints. Did you also see that in testing for the above issue? Is there something that can be done to improve this performance?

Thanks,
John

Posted: Fri Mar 06, 2009 9:57 am
by 10050769
Hi glich,

I recomended two thinks.

First, you could see TeeChart Demo for .NET, specifically reducing number of points that you can find in: Welcome !\Functions\Extended\Reducing number of points


Or, there is an article for to improve the performance of real time, you can find this here and click Real-time Charting.


I hope you have been served my help.

Thanks,